mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 21:57:16 +02:00
Applied code formator
This commit is contained in:
@@ -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