public function testConstructDefaultBoth() { $col = new Column\Select('id', 'user'); $this->assertEquals('user_id', $col->getUniqueId()); $this->assertEquals('user', $col->getSelectPart1()); $this->assertEquals('id', $col->getSelectPart2()); }
public function testSelectPart12() { $col = new Column\Select('id', 'user'); $col->setSelect('id', 'user'); $this->assertEquals('id', $col->getSelectPart1()); $this->assertEquals('user', $col->getSelectPart2()); }