Exemplo n.º 1
0
 function testGetResModelWithInfBBase()
 {
     $model = ModelFactory::getResModel(INFMODELB);
     // This accesses a private property
     $this->assertIsA($model->model, 'InfModelB');
 }
 function testContainerIsSeq()
 {
     $model = ModelFactory::getResModel(MEMMODEL);
     $seq = $model->createSeq('http://example.org/my_seq');
     $this->assertTrue($seq->isSeq());
 }