| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 26 | public function testCreateObject(): void |
||
| 27 | { |
||
| 28 | new Preludium(); |
||
| 29 | // $this->assertInstanceOf("\Tips\Klasser\Omgang", new Omgang()); |
||
| 30 | $this->assertInstanceOf("\Tips\Klasser\Spel", $spel = new Spel()); |
||
| 31 | $this->assertInstanceOf("\Tips\Klasser\Matcher", $matcher = new Matcher($spel)); |
||
| 32 | $matcher->hämta_matcher(); |
||
| 33 | |||
| 34 | $this->assertObjectHasProperty('filnamn', $spel); |
||
| 35 | $this->assertTrue($spel->omgång_existerar($spel->omgång)); |
||
| 36 | } |
||
| 38 |