Mygento_Geoip_Test_Helper_Data   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A checkClass() 0 8 1
1
<?php
2
3
/**
4
 *
5
 *
6
 * @category Mygento
7
 * @package Mygento_Geoip
8
 * @copyright Copyright © 2015 NKS LLC. (http://www.mygento.ru)
9
 */
10
class Mygento_Geoip_Test_Helper_Data extends EcomDev_PHPUnit_Test_Case
11
{
12
13
    /**
14
     * @test
15
     * @return Mygento_Cdn_Helper_Data
16
     */
17
    public function checkClass()
18
    {
19
        /* @var Mygento_Geoip_Helper_Data $helper */
20
        $helper = Mage::helper('geoip');
21
22
        $this->assertInstanceOf('Mygento_Geoip_Helper_Data', $helper);
23
        return $helper;
24
    }
25
}
26