public function testStoreRestore() { $cache = $this->getCache(); $object = new TestValueObject(); $cache->store('some-key', $object); $this->assertSame($object, $cache->restore('some-key')); }