Ejemplo n.º 1
0
 public function testEntityWithInheritance()
 {
     $catalog = new Catalog($this->connectionFactory->get('RW'));
     $datatype = DataType::makeFromAttribute($catalog->pgAttributes->findByIdentifier('ref_a1_child.a1_child_id'));
     $this->assertTrue($datatype->isNormalityEntity($entity));
     $this->assertSame($entity, 'A1child');
 }