eZ\Publish\Core\Persistence\Cache\Tests\PersistenceHandlerTest::testSectionHandler PHP Method

testSectionHandler() public method

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