Exemplo n.º 1
0
 /**
  * @dataProvider exampleDataProvider
  */
 public function testCreateEntity($name, $version)
 {
     // mock des méthodes
     $this->assertInstanceOf(ExampleEntity::class, ExampleEntityFactory::createEntity($name, $version));
 }
Exemplo n.º 2
0
 public function __construct()
 {
     $this->exampleEntity = ExampleEntityFactory::createEntity('bntptr', 'Alpha');
 }