1 | <?php // phpcs:ignore WordPress.Files.FileName |
||
16 | class Test_Autoloader_Handler extends TestCase { |
||
17 | |||
18 | /** |
||
19 | * The hook manager mock; |
||
20 | * |
||
21 | * @var Hook_Manager|\PHPUnit\Framework\MockObject\MockObject |
||
22 | */ |
||
23 | private $hook_manager; |
||
24 | |||
25 | /** |
||
26 | * The manifest reader mock. |
||
27 | * |
||
28 | * @var Manifest_Reader|\PHPUnit\Framework\MockObject\MockObject |
||
29 | */ |
||
30 | private $manifest_reader; |
||
31 | |||
32 | /** |
||
33 | * The autoloader handler we're testing. |
||
34 | * |
||
35 | * @var Autoloader_Handler |
||
36 | */ |
||
37 | private $autoloader_handler; |
||
38 | |||
39 | /** |
||
40 | * Setup runs before each test. |
||
41 | * |
||
42 | * @before |
||
43 | */ |
||
44 | public function set_up() { |
||
60 | |||
61 | /** |
||
62 | * Tests that the handler is able to creates the autoloader successfully. |
||
63 | */ |
||
64 | public function test_create_autoloader() { |
||
80 | |||
81 | /** |
||
82 | * Tests that the handler is able to reset the autoloader successfully. |
||
83 | */ |
||
84 | public function test_reset_autoloader() { |
||
98 | } |
||
99 |
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.