@@ -34,16 +34,16 @@ discard block |
||
| 34 | 34 | /** |
| 35 | 35 | * Test that NullStorage Adaptor is called by default. |
| 36 | 36 | */ |
| 37 | - public function testConstructDefaultNullStorage(){ |
|
| 37 | + public function testConstructDefaultNullStorage() { |
|
| 38 | 38 | $cache = new Cache(); |
| 39 | 39 | $storage = $cache->getCacheStorage(); |
| 40 | - $this->assertInstanceOf('\Rs\Cache\NullStorage',$storage); |
|
| 40 | + $this->assertInstanceOf('\Rs\Cache\NullStorage', $storage); |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * Test that getCacheStorage returns storageMock. |
| 45 | 45 | */ |
| 46 | - public function testGetCacheStorage(){ |
|
| 46 | + public function testGetCacheStorage() { |
|
| 47 | 47 | $storage = $this->cache->getCacheStorage(); |
| 48 | 48 | $this->assertSame($this->storageMock, $storage); |
| 49 | 49 | } |
@@ -51,12 +51,12 @@ discard block |
||
| 51 | 51 | /** |
| 52 | 52 | * Test CacheStorage is updated from construct. |
| 53 | 53 | */ |
| 54 | - public function testWithCacheStorage(){ |
|
| 54 | + public function testWithCacheStorage() { |
|
| 55 | 55 | $newStorage = new NullStorage(); |
| 56 | 56 | $cache = $this->cache->withCacheStorage($newStorage); |
| 57 | 57 | $storage = $cache->getCacheStorage(); |
| 58 | 58 | $this->assertSame($newStorage, $storage); |
| 59 | - $this->assertNotSame($this->storageMock,$storage); |
|
| 59 | + $this->assertNotSame($this->storageMock, $storage); |
|
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |