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.

ExampleTest.php 596B

10 months ago
10 months ago
12345678910111213141516171819202122232425
  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. }