public function testLoadDraft()
{
$this->loggerMock->expects($this->once())->method('logCall');
$this->cacheMock->expects($this->never())->method($this->anything());
$innerHandlerMock = $this->getMock('eZ\\Publish\\SPI\\Persistence\\Content\\Type\\Handler');
$this->persistenceHandlerMock->expects($this->once())->method('contentTypeHandler')->will($this->returnValue($innerHandlerMock));
$innerHandlerMock->expects($this->once())->method('load')->with(55)->will($this->returnValue(new SPIType(array('id' => 55, 'name' => 'Forum', 'identifier' => 'forum'))));
$handler = $this->persistenceCacheHandler->contentTypeHandler();
$handler->load(55, SPIType::STATUS_DRAFT);
}