zhamao-framework/tests/TestCase.php
2022-12-23 17:16:08 +08:00

28 lines
422 B
PHP

<?php
declare(strict_types=1);
namespace Tests;
use Prophecy\Prophet;
/**
* @internal
*/
class TestCase extends \PHPUnit\Framework\TestCase
{
protected Prophet $prophet;
protected function setUp(): void
{
parent::setUp();
$this->prophet = new Prophet();
}
protected function tearDown(): void
{
parent::tearDown();
$this->prophet->checkPredictions();
}
}