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

19 lines
387 B
PHP
Raw Normal View History

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