add PHP boilerplate
This commit is contained in:
parent
7007922739
commit
5512a19e1f
8 changed files with 1913 additions and 3 deletions
19
tests/unit/HelloWorldTest.php
Normal file
19
tests/unit/HelloWorldTest.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Tests\Unit;
|
||||
|
||||
use NoteCat\HelloWorld;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
/**
|
||||
* @covers NoteCat\HelloWorld
|
||||
*/
|
||||
final class HelloWorldTest extends TestCase
|
||||
{
|
||||
public function testGetHello(): void
|
||||
{
|
||||
$hello = new HelloWorld();
|
||||
$this->assertSame('Hello Drone! :3', $hello->getHello());
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue