public function testCommit()
{
$this->loggerMock->expects($this->once())->method('logCall');
$this->cacheMock->expects($this->never())->method($this->anything());
$innerHandlerMock = $this->getMock('eZ\\Publish\\SPI\\Persistence\\TransactionHandler');
$this->persistenceHandlerMock->expects($this->once())->method('transactionHandler')->will($this->returnValue($innerHandlerMock));
$innerHandlerMock->expects($this->once())->method('commit');
$handler = $this->persistenceCacheHandler->transactionHandler();
$handler->commit();
}