Exemplo n.º 1
0
 public function testCanAutoDetectReferenceColumnName()
 {
     $relationship = new Relationship($this->table, 'dewdrop_test_fruits_eaten_by_animals');
     $this->assertEquals('dewdrop_test_fruit_id', $relationship->getReferenceColumnName());
 }