| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | public function testExistingIncluder() |
||
| 24 | { |
||
| 25 | $theme = 'bands/rainbow'; |
||
| 26 | $name = 'musics/lady-of-the-lake'; |
||
| 27 | |||
| 28 | $this->theme($theme)->findOrCreate(); |
||
| 29 | |||
| 30 | $this->expectException(DirectiveExistsException::class); |
||
| 31 | |||
| 32 | $includer1 = Samurai::theme($theme)->include($name)->create(); |
||
| 33 | $includer2 = Samurai::theme($theme)->include($name)->create(); |
||
| 34 | } |
||
| 35 | } |