1 | <?php |
||
18 | class ChainProcedureLoaderTest extends \PHPUnit_Framework_TestCase |
||
19 | { |
||
20 | |||
21 | /** +++++++++++++++++++++++++++++++++++ **/ |
||
22 | /** ++++++++++++++ TESTS ++++++++++++++ **/ |
||
23 | /** +++++++++++++++++++++++++++++++++++ **/ |
||
24 | |||
25 | /** |
||
26 | * Test invalid argument exception is thrown if |
||
27 | * not valid loader can be found. |
||
28 | * |
||
29 | * @access public |
||
30 | * @return void |
||
31 | */ |
||
32 | public function testInvalidArgumentExceptionIsThrownIfNoValidLoaderCanBeFound() |
||
41 | |||
42 | /** |
||
43 | * Test instance of procedure is returned |
||
44 | * if procedure is loaded |
||
45 | * |
||
46 | * @access public |
||
47 | * @return void |
||
48 | */ |
||
49 | public function testInstanceOfProcedureIsReturnedIfProcedureIsLoaded() |
||
65 | |||
66 | /** |
||
67 | * Test loader can be added to chain |
||
68 | * loader. |
||
69 | * |
||
70 | * @access public |
||
71 | * @return void |
||
72 | */ |
||
73 | public function testLoaderCanBeAddedToChainLoader() |
||
84 | |||
85 | /** |
||
86 | * Test invalid argument exception is thrown if |
||
87 | * not valid loader can be found when loading template |
||
88 | * |
||
89 | * @access public |
||
90 | * @return void |
||
91 | */ |
||
92 | public function testInvalidArgumentExceptionIsThrownIfNoValidLoaderCanBeFoundWhenLoadingTemplate() |
||
101 | |||
102 | /** |
||
103 | * Test template is returned if |
||
104 | * procedure template is loaded. |
||
105 | * |
||
106 | * @access public |
||
107 | * @return void |
||
108 | */ |
||
109 | public function testTemplateIsReturnedIfProcedureTemplateIsLoaded() |
||
125 | |||
126 | /** +++++++++++++++++++++++++++++++++++ **/ |
||
127 | /** ++++++++++ TEST ENTITIES ++++++++++ **/ |
||
128 | /** +++++++++++++++++++++++++++++++++++ **/ |
||
129 | |||
130 | /** |
||
131 | * Get chain procedure loader instance. |
||
132 | * |
||
133 | * @access protected |
||
134 | * @param array $procedureLoaders |
||
135 | * @return \JonnyW\PhantomJs\Procedure\ChainProcedureLoader |
||
136 | */ |
||
137 | protected function getChainProcedureLoader(array $procedureLoaders) |
||
143 | |||
144 | /** +++++++++++++++++++++++++++++++++++ **/ |
||
145 | /** ++++++++++ MOCKS / STUBS ++++++++++ **/ |
||
146 | /** +++++++++++++++++++++++++++++++++++ **/ |
||
147 | |||
148 | /** |
||
149 | * Get procedure loader. |
||
150 | * |
||
151 | * @access protected |
||
152 | * @return \JonnyW\PhantomJs\Procedure\ProcedureLoaderInterface |
||
153 | */ |
||
154 | protected function getProcedureLoader() |
||
160 | |||
161 | /** |
||
162 | * Get procedure. |
||
163 | * |
||
164 | * @access protected |
||
165 | * @return \JonnyW\PhantomJs\Procedure\ProcedureInterface |
||
166 | */ |
||
167 | protected function getProcedure() |
||
173 | } |
||
174 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.