public function testSetTable() { $col = new Column("id", "project"); $table = new Table("user"); $col->setTable($table); $this->assertInstanceOf('\\RBM\\SqlQuery\\Table', $col->getTable()); $this->assertEquals("user", $col->getTable()->getName()); }