eZ\Publish\Core\Persistence\Cache\Tests\PersistenceHandlerTest::testContentLocationHandler PHP Метод

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

Test that instance is of correct type.
    public function testContentLocationHandler()
    {
        $this->loggerMock->expects($this->never())->method($this->anything());
        $handler = $this->persistenceCacheHandler->locationHandler();
        $this->assertInstanceOf('eZ\\Publish\\SPI\\Persistence\\Content\\Location\\Handler', $handler);
        $this->assertInstanceOf('eZ\\Publish\\Core\\Persistence\\Cache\\LocationHandler', $handler);
    }