Пример #1
0
 public function testKeyValueRemainsUnchanged()
 {
     $value = ['value' => ['another', 'array']];
     $this->cacheItem->set($value);
     $this->assertSame($value, $this->cacheItem->get());
     $this->assertEquals('key', $this->cacheItem->getKey());
 }