CheckListHandlerTest.php 463 B

123456789101112131415161718192021222324
  1. <?php
  2. declare(strict_types=1);
  3. namespace SPC\Tests\doctor;
  4. use PHPUnit\Framework\TestCase;
  5. use SPC\doctor\CheckListHandler;
  6. /**
  7. * @internal
  8. */
  9. final class CheckListHandlerTest extends TestCase
  10. {
  11. public function testRunChecksReturnsListOfCheck(): void
  12. {
  13. $list = new CheckListHandler();
  14. $id = $list->runChecks();
  15. foreach ($id as $item) {
  16. $this->assertInstanceOf('SPC\doctor\AsCheckItem', $item);
  17. }
  18. }
  19. }