JamesMoss\Flywheel\QueryExecuterTest::testParams PHP Method

testParams() public method

public testParams ( )
    public function testParams()
    {
        $pred = $this->getPredicate()->where('cca2', '==', 'GB');
        $qe = new QueryExecuter($this->getRepo('countries'), $pred, array(), array());
        $result = $qe->run();
        $this->assertInstanceOf('\\JamesMoss\\Flywheel\\Result', $result);
        $this->assertEquals(1, count($result));
        $this->assertEquals(1, $result->total());
    }