1 | <?php |
||
8 | class LimeSoda_LiveGuard_Test_Model_ConfigTests |
||
|
|||
9 | extends EcomDev_PHPUnit_Test_Case_Config |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * @return false|Mage_Core_Model_Abstract |
||
14 | */ |
||
15 | protected function _getConfigInstance() |
||
19 | |||
20 | /** |
||
21 | * @test |
||
22 | */ |
||
23 | public function testConfigExists() |
||
39 | |||
40 | /** |
||
41 | * @test |
||
42 | * @loadFixture |
||
43 | * @loadExpectation |
||
44 | */ |
||
45 | public function testGetConfig() |
||
59 | |||
60 | /** |
||
61 | * @param $name |
||
62 | */ |
||
63 | protected function _mockGetEnvironmentName( $name ) |
||
75 | |||
76 | /** |
||
77 | * @test |
||
78 | * @loadFixture |
||
79 | * @expectedException InvalidArgumentException |
||
80 | */ |
||
81 | public function testGetGuardsMissesArguments() |
||
86 | |||
87 | /** |
||
88 | * @test |
||
89 | * @loadFixture |
||
90 | */ |
||
91 | public function testGetGuardsSkipGuards() |
||
97 | |||
98 | /** |
||
99 | * @test |
||
100 | * @loadFixture |
||
101 | * @expectedException InvalidArgumentException |
||
102 | */ |
||
103 | public function testGetGuardsGuardModelDoesNotImplementInterface() |
||
112 | |||
113 | /** |
||
114 | * @loadFixture |
||
115 | */ |
||
116 | public function testGetGuards() |
||
134 | |||
135 | } |
||
136 | |||
158 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.