mirror of
http://124.126.16.154:8888/singularity/hdk-pay.git
synced 2026-01-15 07:35:09 +08:00
init: 初始化项目
This commit is contained in:
18
tests/Example/GreetingTest.php
Normal file
18
tests/Example/GreetingTest.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user