Example #1
0
 public function testIsEmpty()
 {
     $where = new Where(new Identifier('hello'));
     $this->assertSame(false, $where->isEmpty());
     $where = new Where();
     $this->assertSame(true, $where->isEmpty());
     $where->addAnd(new Identifier('hello'));
     $this->assertSame(false, $where->isEmpty());
 }