JamesMoss\Flywheel\QueryExecuterTest::testMultipleAndPredicates PHP Method

testMultipleAndPredicates() public method

    public function testMultipleAndPredicates()
    {
        $pred = $this->getPredicate()->where('language.0', '==', 'English')->andWhere('population', '>', 300000)->andWhere('region', '==', 'Americas');
        $qe = new QueryExecuter($this->getRepo('countries'), $pred, array(), array());
        $result = $qe->run();
        $this->assertEquals(5, $result->total());
    }