MvcLite\TestCase::getReflectedMethod
Gets an instance of \ReflectionMethod, for a given class and method.
Signature
protected function getReflectedMethod(string
$class,
string
$method )
Parameters
$class
—
string
- The class to perform reflection on.
$method
—
string
- The method to reflect on.
Returns
- ReflectionMethod
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 10
- Passed: 10 (100%)
Tests
- [ PASSED ] — MvcLite\CacheTest::testGetFilepath with data set "string filepath, string expectations"
- [ PASSED ] — MvcLite\CacheTest::testGetFilepath with data set "empty filepath, empty expectations"
- [ PASSED ] — MvcLite\DispatcherTest::testTranslateControllerName with data set "simple"
- [ PASSED ] — MvcLite\DispatcherTest::testTranslateControllerName with data set "with dashes"
- [ PASSED ] — MvcLite\DispatcherTest::testTranslateActionName with data set "simple"
- [ PASSED ] — MvcLite\DispatcherTest::testTranslateActionName with data set "with dashes"
- [ PASSED ] — MvcLite\FormTest::testGetElementTypeMap
- [ PASSED ] — MvcLite\ViewHelperInputSelectTest::testBuildOptions with data set "empty options"
- [ PASSED ] — MvcLite\ViewHelperInputSelectTest::testBuildOptions with data set "single option"
- [ PASSED ] — MvcLite\ViewHelperAbstractTest::testGetHtmlAttribs with data set #0