public function testCreateLocationsFromRows()
{
$inputRows = array();
for ($i = 0; $i < 3; ++$i) {
$row = $this->locationRow;
$row['node_id'] += $i;
$inputRows[] = $row;
}
$mapper = new Mapper();
$locations = $mapper->createLocationsFromRows($inputRows);
$this->assertCount(3, $locations);
foreach ($locations as $location) {
$this->assertInstanceOf('eZ\\Publish\\SPI\\Persistence\\Content\\Location', $location);
}
}