1 | <?php |
||
14 | * @group Location |
||
15 | */ |
||
16 | class TestLocationModel extends TestCase { |
||
17 | |||
18 | /** |
||
19 | * @var Location_Model |
||
20 | */ |
||
21 | private $_location; |
||
22 | |||
23 | public function setUp() { |
||
27 | |||
28 | /** |
||
29 | * @covers ::__construct |
||
30 | * @covers ::__call |
||
31 | */ |
||
32 | public function testConstruct() { |
||
35 | |||
36 | /** |
||
37 | * @covers ::__construct |
||
38 | * @covers ::__call |
||
39 | */ |
||
40 | public function testConstructDefaults() { |
||
45 | |||
46 | /** |
||
47 | * @covers ::__construct |
||
48 | * @covers ::has_location |
||
49 | */ |
||
50 | public function testHasLocation() { |
||
53 | |||
54 | /** |
||
55 | * @covers ::__call |
||
56 | */ |
||
57 | public function testMagicMethodCall() { |
||
60 | |||
61 | /** |
||
62 | * @covers ::__call |
||
63 | */ |
||
64 | public function testMagicMethodCallNull() { |
||
68 | |||
69 | /** |
||
70 | * @return \Mockery\MockInterface |
||
71 | */ |
||
72 | private function _getMockLocation() { |
||
73 | $location = \Mockery::mock(MLoc::class); |
||
74 | |||
79 | } |
This check marks calls to methods that do not seem to exist on an object.
This is most likely the result of a method being renamed without all references to it being renamed likewise.