Files
pest/tests/PHPUnit/CustomAffixes/FolderWithAn@/ExampleTest.php
T
2026-07-18 01:10:01 +01:00

21 lines
390 B
PHP

<?php
declare(strict_types=1);
use PHPUnit\Framework\TestCase;
class MyCustomClassTest extends TestCase
{
public function assertTrueIsTrue(): void
{
$this->assertTrue(true);
}
}
pest()->extend(MyCustomClassTest::class);
test('custom traits can be used', function (): void {
$this->assertTrueIsTrue();
});
test('trait applied in this file')->assertTrueIsTrue();