Repo2\QueryReactor\Tests\Fixtures::getSelect PHP Method

getSelect() public static method

public static getSelect ( )
    public static function getSelect()
    {
        return QueryBuilder\select(self::TABLE_NAME, ['id', 'name']);
    }

Usage Example

Esempio n. 1
0
 public function testReject()
 {
     $onReject = $this->getMock('\\Repo2\\QueryReactor\\Tests\\Stub');
     $onReject->expects($this->once())->method('__invoke');
     $query = new GenericQuery(Fixtures::getSelect(), null, $onReject);
     $this->assertNull($query->reject(new \Exception()));
 }
All Usage Examples Of Repo2\QueryReactor\Tests\Fixtures::getSelect