1 | <?php |
||
28 | abstract class TestCase extends BaseTestCase |
||
29 | { |
||
30 | /** |
||
31 | * @param Adapter $adapter |
||
32 | * @param Extractor $annotationExtractor |
||
33 | * @param Generator $asserterGenerator |
||
34 | * @param Manager $assertionManager |
||
35 | * @param Closure $reflectionClassFactory |
||
36 | * @param Closure $phpExtensionFactory |
||
37 | * @param Analyzer $analyzer |
||
38 | */ |
||
39 | public function __construct( |
||
65 | |||
66 | /** |
||
67 | * @param callable $callable |
||
68 | * |
||
69 | * @return \Cubiche\Core\Delegate\Delegate |
||
70 | */ |
||
71 | protected function callableMock(callable $callable) |
||
77 | |||
78 | /** |
||
79 | * @param mixed $return |
||
80 | * |
||
81 | * @return \Cubiche\Core\Delegate\Delegate |
||
82 | */ |
||
83 | protected function delegateMock($return = null) |
||
89 | |||
90 | /** |
||
91 | * @param mixed $return |
||
92 | * |
||
93 | * @return \Cubiche\Core\Delegate\Delegate |
||
94 | */ |
||
95 | protected function delegateMockWithReturn($return) |
||
99 | |||
100 | /** |
||
101 | * @param \Exception $e |
||
102 | * |
||
103 | * @return \Cubiche\Core\Delegate\Delegate |
||
104 | */ |
||
105 | protected function delegateMockWithException(\Exception $e) |
||
111 | |||
112 | /** |
||
113 | * @param MockAggregator $mock |
||
114 | * |
||
115 | * @return mixed |
||
116 | */ |
||
117 | protected function delegateCall(MockAggregator $mock) |
||
121 | } |
||
122 |