JamesMoss\Flywheel\QueryExecuterTest::testFindingById PHP Method

testFindingById() public method

public testFindingById ( )
    public function testFindingById()
    {
        $pred = $this->getPredicate()->where('__id', '==', 'EE');
        $qe = new QueryExecuter($this->getRepo('querybyid'), $pred, array(), array());
        $result = $qe->run();
        $this->assertEquals(1, count($result));
        $this->assertEquals('Estonia', $result->first()->name);
    }