Phactory\Sql\Association\ManyToOneTest::testGuessFromColumn PHP Method

testGuessFromColumn() public method

public testGuessFromColumn ( )
    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());
    }