1 | <?php namespace Modules\Core\Tests\Theme; |
||
6 | class ThemeManagerTest extends BaseTestCase |
||
7 | { |
||
8 | /** |
||
9 | * @var \Modules\Core\Foundation\Theme\ThemeManager |
||
10 | */ |
||
11 | protected $repository; |
||
12 | |||
13 | /** |
||
14 | * |
||
15 | */ |
||
16 | public function setUp() |
||
22 | |||
23 | /** @test */ |
||
24 | public function it_should_return_all_themes() |
||
29 | |||
30 | /** @test */ |
||
31 | public function it_should_return_a_theme() |
||
38 | |||
39 | /** @test */ |
||
40 | public function it_should_return_null_if_not_theme_found() |
||
46 | |||
47 | /** @test */ |
||
48 | public function it_should_return_empty_array_if_no_themes() |
||
54 | |||
55 | /** @test */ |
||
56 | public function it_should_return_empty_array_if_no_folder() |
||
62 | |||
63 | private function getPath() |
||
67 | |||
68 | private function getEmptyThemesPath() |
||
72 | |||
73 | private function getFakePath() |
||
77 | } |
||
78 |