mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2026-10-30 17:22:08 +00:00
Applied code formator
This commit is contained in:
1 parent
00ae6412e6
commit
577f30e0f7
8 files changed
+29
-24
No files matched your search
@@ -21,12 +21,13 @@ class NameSourceTest extends TestCase
|
||||
$this->nameSource = new NameSource();
|
||||
}
|
||||
|
||||
public function testConstructor():void{
|
||||
public function testConstructor(): void
|
||||
{
|
||||
$this->assertInstanceOf(NameSourceInterface::class, $this->nameSource);
|
||||
$this->expectException(\TypeError::class);
|
||||
$this->nameSource->getName();
|
||||
}
|
||||
|
||||
|
||||
public function testName(): void
|
||||
{
|
||||
$name = 'Hello World!';
|
||||
|
||||
Reference in new issue
Block a user