public function testSetGetQueryCacheImpl() { $this->assertSame(null, $this->configuration->getQueryCacheImpl()); // defaults $queryCacheImpl = $this->getMock('Doctrine\\Common\\Cache\\Cache'); $this->configuration->setQueryCacheImpl($queryCacheImpl); $this->assertSame($queryCacheImpl, $this->configuration->getQueryCacheImpl()); }