Files
hdk-auth/tests/Example/GreetingTest.php

19 lines
338 B
PHP
Raw Permalink Normal View History

2021-11-29 16:27:54 +08:00
<?php
declare(strict_types=1);
namespace Tests\Example;
use PHPUnit\Framework\TestCase;
use Example\Greeting;
class GreetingTest extends TestCase
{
public function testItGreetsUser(): void
{
$greeting = new Greeting('Rasmus Lerdorf');
$this->assertSame('Hello Rasmus Lerdorf', $greeting->sayHello());
}
}