public function testLoadVersionInfoByIdThrowsNotFoundException()
{
$contentServiceMock = $this->getPartlyMockedContentService(array('loadContentInfo'));
/** @var \PHPUnit_Framework_MockObject_MockObject $contentHandler */
$contentHandler = $this->getPersistenceMock()->contentHandler();
$contentHandler->expects($this->once())->method('loadVersionInfo')->with($this->equalTo(42), $this->equalTo(24))->will($this->throwException(new NotFoundException('Content', array('contentId' => 42, 'versionNo' => 24))));
$contentServiceMock->loadVersionInfoById(42, 24);
}