| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public function testGetFirstTheme() |
||
| 12 | { |
||
| 13 | $fst = 'bands/alan-parsons'; |
||
| 14 | $snd = 'bands/black-sabbath'; |
||
| 15 | $trd = 'bands/deep-purple'; |
||
| 16 | |||
| 17 | $this->theme($trd)->make(); |
||
| 18 | $this->theme($fst)->make(); |
||
| 19 | $this->theme($snd)->make(); |
||
| 20 | |||
| 21 | $base = new Base(); |
||
| 22 | |||
| 23 | $theme = $base->first(); |
||
| 24 | |||
| 25 | $this->assertInstanceOf(Theme::class, $theme); |
||
| 26 | $this->assertEquals($theme->package(), $fst); |
||
| 27 | } |
||
| 28 | } |