Doctrine\Tests\Search\ConfigurationTest::testSetMetadataCacheImpl PHP Метод

testSetMetadataCacheImpl() публичный Метод

    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);
    }