mirror of
https://github.com/crazywhalecc/static-php-cli.git
synced 2026-03-18 04:44:53 +08:00
25 lines
463 B
PHP
25 lines
463 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace SPC\Tests\doctor;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use SPC\doctor\CheckListHandler;
|
|
|
|
/**
|
|
* @internal
|
|
*/
|
|
final class CheckListHandlerTest extends TestCase
|
|
{
|
|
public function testRunChecksReturnsListOfCheck(): void
|
|
{
|
|
$list = new CheckListHandler();
|
|
|
|
$id = $list->runChecks();
|
|
foreach ($id as $item) {
|
|
$this->assertInstanceOf('SPC\doctor\AsCheckItem', $item);
|
|
}
|
|
}
|
|
}
|