예제 #1
0
 public function testAddExplicitConditionWithOperator()
 {
     $j = new Join();
     $j->addExplicitCondition('a', 'foo', null, 'b', 'bar', null, '>=');
     $this->assertEquals('>=', $j->getOperator());
     $this->assertEquals('a.foo', $j->getLeftColumn());
     $this->assertEquals('b.bar', $j->getRightColumn());
 }