示例#1
0
 /**
  *
  */
 protected function setUp()
 {
     $query = new DummyQuery();
     $query->setTable('users');
     $this->where = new Where($query);
 }
 /**
  * @test
  */
 public function itShouldGetWhereOperator()
 {
     $this->assertSame('AND', $this->query->getWhereOperator());
     $this->query->where('OR');
     $this->assertSame('OR', $this->query->getWhereOperator());
 }