| Total Complexity | 3 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Chekote\NounStore\Store; |
||
| 7 | class SetTest extends StoreTest |
||
| 8 | { |
||
| 9 | public function setUp() |
||
| 10 | { |
||
| 11 | parent::setUp(); |
||
| 12 | |||
| 13 | /* @noinspection PhpUndefinedMethodInspection */ |
||
| 14 | Phake::when($this->store)->set(Phake::anyParameters())->thenCallParent(); |
||
|
|
|||
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Tests that calling store::set once stores the value correctly. |
||
| 19 | */ |
||
| 20 | public function testSetOnceStoresValue() |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Tests that calling store::set twice for the same key stores both values correctly. |
||
| 37 | */ |
||
| 38 | public function testSetTwiceForSameKeyStoresMultipleValues() |
||
| 56 |