JamesMoss\Flywheel\QueryExecuterTest::testMultipleOrPredicates PHP Method

testMultipleOrPredicates() public method

    public function testMultipleOrPredicates()
    {
        $pred = $this->getPredicate()->where('subregion', '==', 'Micronesia')->orWhere('subregion', '==', 'Eastern Africa');
        $qe = new QueryExecuter($this->getRepo('countries'), $pred, array(), array());
        $result = $qe->run();
        $this->assertEquals(27, $result->total());
    }