Files
pest/tests/PHPUnit/CustomAffixes/FolderWithAn@/ExampleTest.php
2026-03-10 21:06:28 +00:00

21 lines
378 B
PHP

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