. * * To disable strict typing, comment out the directive below. */ declare(strict_types=1); class HelloWorldTest extends PHPUnit\Framework\TestCase { public static function setUpBeforeClass(): void { require_once 'HelloWorld.php'; } public function testHelloWorld(): void { $this->assertEquals('Hello, World!', helloWorld()); } }