1 | <?php |
||
16 | abstract class TestCase extends \PHPUnit_Framework_TestCase |
||
17 | { |
||
18 | /** |
||
19 | * Call protected/private method of a class. |
||
20 | * |
||
21 | * @param object &$object Instantiated object that we will run method on. |
||
22 | * @param string $methodName Method name to call |
||
23 | * @param array $parameters Array of parameters to pass into method. |
||
24 | * |
||
25 | * @return mixed Method return. |
||
26 | */ |
||
27 | public static function invokeMethod(&$object, $methodName, array $parameters = array()) |
||
35 | } |
||
36 |