Files
pest/tests/PHPUnit/CustomTestCase/ParentTest.php
2024-11-21 10:46:27 +00:00

25 lines
415 B
PHP

<?php
declare(strict_types=1);
namespace Tests\CustomTestCase;
use PHPUnit\Framework\Attributes\Test;
use PHPUnit\Framework\TestCase;
use function PHPUnit\Framework\assertTrue;
class ParentTest extends TestCase
{
private function getEntity(): bool
{
return false;
}
#[Test]
public function test_override_method(): void
{
assertTrue($this->getEntity() || true);
}
}