mirror of
https://github.com/pestphp/pest.git
synced 2026-03-05 23:37:22 +01:00
24 lines
379 B
PHP
24 lines
379 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\CustomTestCase;
|
|
|
|
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);
|
|
}
|
|
}
|