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