public function testLoadVersionInfo()
{
$contentServiceMock = $this->getPartlyMockedContentService(array('loadVersionInfoById'));
$contentServiceMock->expects($this->once())->method('loadVersionInfoById')->with($this->equalTo(42), $this->equalTo(7))->will($this->returnValue('result'));
$result = $contentServiceMock->loadVersionInfo(new ContentInfo(array('id' => 42)), 7);
$this->assertEquals('result', $result);
}