Beispiel #1
0
 public function testGuessFromColumn()
 {
     $assoc = new ManyToOne(new Table('user', true, $this->phactory));
     $assoc->setFromTable(new Table('post', true, $this->phactory));
     $this->assertEquals('user_id', $assoc->getFromColumn());
 }