testHelperAliases()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 7
rs 9.4285
1
<?php
2
/**
3
 * Created by Andreas Penz.
4
 * Date: 24.06.14
5
 * Time: 17:58
6
 */
7
8
class LimeSoda_LiveGuard_Test_Config_ConfigTests
0 ignored issues
show
Coding Style Compatibility introduced by
PSR1 recommends that each class must be in a namespace of at least one level to avoid collisions.

You can fix this by adding a namespace to your class:

namespace YourVendor;

class YourClass { }

When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.

Loading history...
9
    extends EcomDev_PHPUnit_Test_Case_Config
0 ignored issues
show
Coding Style introduced by
The extends keyword must be on the same line as the class name
Loading history...
10
{
11
12
    /**
13
     * @test
14
     */
15
    public function testCodePool()
16
    {
17
        $this->assertModuleCodePool('community');
18
    }
19
20
    /**
21
     * @test
22
     */
23
    public function testModuleIsActive()
24
    {
25
        $this->assertModuleIsActive();
26
    }
27
28
    /**
29
     * @test
30
     */
31
    public function testModuleVersion()
32
    {
33
        $this->assertModuleVersion('1.0.2');
34
    }
35
36
    /**
37
     * @test
38
     */
39
    public function testModuleDependencies()
40
    {
41
        $this->assertModuleDepends('LimeSoda_EnvironmentConfiguration');
42
    }
43
44
    /**
45
     * @test
46
     */
47
    public function testHelperAliases()
48
    {
49
        $this->assertHelperAlias(
50
            'limesoda_liveguard',
51
            'LimeSoda_LiveGuard_Helper_Data'
52
        );
53
    }
54
55
    /**
56
     * @test
57
     */
58
    public function testObserverDefined()
59
    {
60
        $this->assertEventObserverDefined(
61
            'global', 'controller_front_init_before', 'limesoda_liveguard/observer', 'controllerFrontInitBefore'
62
        );
63
    }
64
65
}
66