| Total Complexity | 3 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Unit\Chekote\NounStore\Store; |
||
| 5 | class SetTest extends StoreTest |
||
| 6 | { |
||
| 7 | public function setUp() |
||
| 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() |
||
| 30 | } |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Tests that calling store::set twice for the same key stores both values correctly. |
||
| 35 | */ |
||
| 36 | public function testSetTwiceForSameKeyStoresMultipleValues() |
||
| 51 | } |
||
| 52 | } |
||
| 54 |