| Total Complexity | 1 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class SpelTest extends TestCase |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * Construct object with argument and verify that the object has the expected properties. |
||
| 28 | */ |
||
| 29 | public function testCreateObject(): void |
||
| 30 | { |
||
| 31 | new Preludium(); |
||
| 32 | $this->assertInstanceOf("\Tips\Klasser\Spel\Sekvenser", new Sekvenser()); |
||
| 33 | $this->assertInstanceOf("\Tips\Klasser\Spel\Komplett", new Komplett()); |
||
| 34 | $this->assertInstanceOf("\Tips\Klasser\Spel\Spara", new Spara()); |
||
| 35 | $this->assertInstanceOf("\Tips\Klasser\Spel\Omgang", new Omgang()); |
||
| 36 | $spel = new Spel(); |
||
| 37 | $this->assertObjectHasProperty('filnamn', $spel); |
||
| 38 | } |
||
| 40 |