eZ\Publish\Core\Search\Legacy\Tests\Content\HandlerContentTest::testStatusFilter PHP Method

testStatusFilter() public method

public testStatusFilter ( )
    public function testStatusFilter()
    {
        $this->assertSearchResults(array(4, 10, 11, 12, 13, 14, 41, 42, 45, 49), $searchResult = $this->getContentSearchHandler()->findContent(new Query(array('filter' => new Criterion\LogicalNot(new Criterion\ContentId(array(0))), 'limit' => 10, 'sortClauses' => array(new SortClause\ContentId())))));
        $this->assertEquals(185, $searchResult->totalCount);
    }
HandlerContentTest