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

testTransactionHandler() public method

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