public function testExtractContentFromRows()
{
$convMock = $this->getMock('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\FieldValue\\Converter');
$convMock->expects($this->exactly(13))->method('toFieldValue')->with($this->isInstanceOf('eZ\\Publish\\Core\\Persistence\\Legacy\\Content\\StorageFieldValue'))->will($this->returnValue(new FieldValue()));
$reg = new Registry(array('ezauthor' => $convMock, 'ezstring' => $convMock, 'ezrichtext' => $convMock, 'ezboolean' => $convMock, 'ezimage' => $convMock, 'ezdatetime' => $convMock, 'ezkeyword' => $convMock, 'ezsrrating' => $convMock));
$rowsFixture = $this->getContentExtractFixture();
$nameRowsFixture = $this->getNamesExtractFixture();
$mapper = new Mapper($reg, $this->getLanguageHandler());
$result = $mapper->extractContentFromRows($rowsFixture, $nameRowsFixture);
$this->assertEquals(array($this->getContentExtractReference()), $result);
}