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

testTrashHandler() public method

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