public function testContentIdFilterCount() { $locator = $this->getContentSearchHandler(); $result = $locator->findContent(new Query(array('filter' => new Criterion\ContentId(array(1, 4, 10)), 'limit' => 10))); $this->assertSame(2, $result->totalCount); }