public function testGetData() { $object = $this->saveObject(); $this->assertSame($object, $this->cache->get(self::CACHE_KEY)); $this->assertSame($this->cache->get(self::CACHE_KEY), $this->cache->{self::CACHE_KEY}); $this->cache->clear(); }