getBadSyntax() public static method

public static getBadSyntax ( )
Ejemplo n.º 1
0
 public function testRejectOnResultError()
 {
     $query = $this->getQueryMock(Fixtures::getBadSyntax());
     $query->expects($this->never())->method('resolve');
     $query->expects($this->once())->method('reject');
     $this->queryAwait($query);
 }