mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
25 lines
413 B
PHP
25 lines
413 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 testOverrideMethod(): void
|
|
{
|
|
assertTrue($this->getEntity() || true);
|
|
}
|
|
}
|