public function testSetMetadataCacheImpl()
{
$mockedMetadataCacheImpl = $this->getMock('\\Doctrine\\Common\\Cache\\Cache');
$this->configuration->setMetadataCacheImpl($mockedMetadataCacheImpl);
$cacheMetadataImpl = $this->configuration->getMetadataCacheImpl();
$this->assertInstanceOf('\\Doctrine\\Common\\Cache\\Cache', $cacheMetadataImpl);
}