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.

25 lines
572B

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