Total Complexity | 3 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php namespace Unit\Chekote\NounStore\Store; |
||
5 | class SetTest extends StoreTestCase |
||
6 | { |
||
7 | public function setUp(): void |
||
8 | { |
||
9 | parent::setUp(); |
||
10 | |||
11 | /* @noinspection PhpUndefinedMethodInspection */ |
||
12 | Phake::when($this->store)->set(Phake::anyParameters())->thenCallParent(); |
||
13 | } |
||
14 | |||
15 | /** |
||
16 | * Tests that calling store::set once stores the value correctly. |
||
17 | */ |
||
18 | public function testSetOnceStoresValue(): void |
||
30 | } |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * Tests that calling store::set twice for the same key stores both values correctly. |
||
35 | */ |
||
36 | public function testSetTwiceForSameKeyStoresMultipleValues(): void |
||
51 | } |
||
52 | } |
||
54 |
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.