Files
hdk/tests/Example/GreetingTest.php
2022-03-14 16:37:25 +08:00

19 lines
371 B
PHP

<?php
declare(strict_types=1);
namespace Tests\Example;
use PHPUnit\Framework\TestCase;
use Singularity\HyperfDevelopmentKit\Example\Greeting;
class GreetingTest extends TestCase
{
public function testItGreetsUser(): void
{
$greeting = new Greeting('Rasmus Lerdorf');
$this->assertSame('Hello Rasmus Lerdorf', $greeting->sayHello());
}
}