MvcLite\TestCase
TestCase Class.
- Author: Cory Collier <corycollier@corycollier.com>
Synopsis
class TestCase
extends PHPUnit_Framework_TestCase
{
- // members
- protected $sut;
- // methods
- protected ReflectionProperty getReflectedProperty()
- protected ReflectionMethod getReflectedMethod()
Hierarchy
Extends
- PHPUnit_Framework_TestCase
Coverage
Methods | 100% | 2 / 2 |
Lines | 100% | 6 / 6 |
Members
protected
- $sut
—
mixed
Subject Under Testing
Methods
protected
- getReflectedMethod() — Gets an instance of \ReflectionMethod, for a given class and method.
- getReflectedProperty() — Gets an instance of \ReflectionProperty, for a given class and property.
History
-
2015-11-29T16:46:01-05:00 (commit #846ee53)
Author: Cory Collier (ccollier@redhat.com) / Commiter: Cory Collier (ccollier@redhat.com)
Adding traits, implementing them on Cache, Database, Dispatcher, Error, and Request classes. Adding a TestCase class, to simplify unit test writing. Updating unit tests