| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 15 | 
| Code Lines | 9 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php namespace Unit\Chekote\NounStore\Store; | ||
| 36 | public function testSetTwiceForSameKeyStoresMultipleValues() | ||
| 37 |     { | ||
| 38 | $key = 'My Key'; | ||
| 39 | $value1 = 'My Value'; | ||
| 40 | $value2 = 'My Second Value'; | ||
| 41 | |||
| 42 | $this->store->set($key, $value1); | ||
| 43 | $this->store->set($key, $value2); | ||
| 44 | |||
| 45 | $store = Phake::makeVisible($this->store); | ||
| 46 | /* @noinspection PhpUndefinedFieldInspection */ | ||
| 47 |         { | ||
| 48 | $this->assertCount(2, $store->nouns[$key]); | ||
| 49 | $this->assertEquals($value1, $store->nouns[$key][0]); | ||
| 50 | $this->assertEquals($value2, $store->nouns[$key][1]); | ||
| 51 | } | ||
| 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.