You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 line
596B

  1. <?php
  2. namespace tests\codeception\common\unit;
  3. //use \Tests\Support\UnitTester;
  4. use domain\Producer\Producer\Producer;
  5. use domain\Producer\Producer\ProducerModule;
  6. use tests\codeception\common\UnitTester;
  7. class ExampleTest extends \Codeception\Test\Unit
  8. {
  9. protected UnitTester $tester;
  10. protected function _before()
  11. {
  12. }
  13. public function testMe()
  14. {
  15. $producerModule = ProducerModule::getInstance();
  16. $producer = $producerModule->getBuilder()->instanciateProducer();
  17. $this->assertTrue($producer instanceof Producer, 'Producer instancié');
  18. }
  19. }