mirror of
http://124.126.16.154:8888/singularity/composer-template.git
synced 2026-01-15 00:35:08 +08:00
19 lines
357 B
PHP
19 lines
357 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\Unit;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use Singularity\HDK\Boilerplate\Example\Greeting;
|
|
|
|
class GreetingTest extends TestCase
|
|
{
|
|
public function testItGreetsUser(): void
|
|
{
|
|
$greeting = new Greeting('Singularity');
|
|
|
|
$this->assertSame('Hello Singularity', $greeting->sayHello());
|
|
}
|
|
}
|