public function testIsNotMainLocationFilter() { $this->assertSearchResults(array(510), $this->getContentSearchHandler()->findLocations(new LocationQuery(array('filter' => new Criterion\LogicalAnd(array(new Criterion\ParentLocationId(224), new Criterion\Location\IsMainLocation(Criterion\Location\IsMainLocation::NOT_MAIN))), 'limit' => 10)))); }