public function testSortContentName()
{
$locator = $this->getContentSearchHandler();
$result = $locator->findContent(new Query(array('filter' => new Criterion\SectionId(array(2, 3)), 'offset' => 0, 'limit' => null, 'sortClauses' => array(new SortClause\ContentName()))));
$this->assertEquals(array(226, 14, 12, 10, 42, 57, 13, 50, 49, 41, 11, 51, 62, 4, 58, 59, 61, 60, 64, 63, 200, 66, 201), array_map(function ($hit) {
return $hit->valueObject->id;
}, $result->searchHits));
}