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