Mygento_Metrika_Test_Config_Base   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 1 Features 0
Metric Value
wmc 3
c 1
b 1
f 0
lcom 0
cbo 0
dl 0
loc 27
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A testValidCodepool() 0 4 1
A testBlockAlias() 0 4 1
A testHelperAlias() 0 4 1
1
<?php
2
3
/**
4
 *
5
 * @category   Mygento
6
 * @package    Mygento_Metrika
7
 * @copyright  Copyright © 2015 NKS LLC. (http://www.mygento.ru)
8
 */
9
class Mygento_Metrika_Test_Config_Base extends EcomDev_PHPUnit_Test_Case_Config
10
{
11
12
    /**
13
     * @test
14
     */
15
    public function testValidCodepool()
16
    {
17
        $this->assertModuleCodePool('community');
18
    }
19
20
    /**
21
     * @test
22
     */
23
    public function testBlockAlias()
24
    {
25
        $this->assertBlockAlias('metrika/tracker', 'Mygento_Metrika_Block_Tracker');
26
    }
27
28
    /**
29
     * @test
30
     */
31
    public function testHelperAlias()
32
    {
33
        $this->assertHelperAlias('metrika', 'Mygento_Metrika_Helper_Data');
34
    }
35
}
36