1 | <?php |
||
19 | abstract class TestCase extends ParentTestCase |
||
20 | { |
||
21 | use BuildEasyMockTrait; |
||
22 | |||
23 | |||
24 | /** |
||
25 | * Asserts that two array are equal and same element sequence |
||
26 | * |
||
27 | * @param mixed $expected |
||
28 | * @param mixed $actual |
||
29 | */ |
||
30 | public function assertEqualArray($expected, $actual) |
||
37 | |||
38 | |||
39 | /** |
||
40 | * Call private or protected method for test using reflection |
||
41 | * |
||
42 | * @param mixed $classOrInstance |
||
43 | * @param string $name |
||
44 | * @param array $argument |
||
45 | * @return mixed |
||
46 | */ |
||
47 | protected function reflectionCall( |
||
58 | |||
59 | |||
60 | /** |
||
61 | * Get private or protected property for test using reflection |
||
62 | * |
||
63 | * @param mixed $classOrInstance |
||
64 | * @param string $name |
||
65 | * @return mixed |
||
66 | */ |
||
67 | protected function reflectionGet($classOrInstance, $name) |
||
75 | |||
76 | |||
77 | /** |
||
78 | * Set private or protected property for test using reflection |
||
79 | * |
||
80 | * @param mixed $classOrInstance |
||
81 | * @param string $name |
||
82 | * @param mixed $value |
||
83 | */ |
||
84 | protected function reflectionSet($classOrInstance, $name, $value) |
||
96 | } |
||
97 |