| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Unit\Chekote\NounStore\Store; |
||
| 18 | public function testSetOnceStoresValue() |
||
| 19 | { |
||
| 20 | $key = 'My Key'; |
||
| 21 | $value = 'My Value'; |
||
| 22 | |||
| 23 | $this->store->set($key, $value); |
||
| 24 | |||
| 25 | $store = Phake::makeVisible($this->store); |
||
| 26 | /* @noinspection PhpUndefinedFieldInspection */ |
||
| 27 | { |
||
| 28 | $this->assertCount(1, $store->nouns[$key]); |
||
| 29 | $this->assertEquals($value, $store->nouns[$key][0]); |
||
| 30 | } |
||
| 54 |