eZ\Publish\Core\Persistence\Legacy\Tests\TransactionHandlerTest::testRollback PHP Method

testRollback() public method

public testRollback ( )
    public function testRollback()
    {
        $handler = $this->getTransactionHandler();
        $this->getDatabaseHandlerMock()->expects($this->once())->method('rollback');
        $this->getContentTypeHandlerMock()->expects($this->once())->method('clearCache');
        $this->getLanguageHandlerMock()->expects($this->once())->method('clearCache');
        $handler->rollback();
    }