mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
28 lines
422 B
PHP
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();
|
|
}
|
|
}
|