CityNameFinderTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A findTest() 0 8 1
1
<?php
2
3
namespace IndianCityFinder\Tests;
4
5
use IndianCityFinder\CityNameFinder;
6
7
class CityNameFinderTest extends \PHPUnit_Framework_TestCase {
8
    
9
    /**
10
     * @test
11
     */
12
    public function findTest()
13
    {
14
        $cityNameFinder = new CityNameFinder();
15
        
16
        $actualResult = $cityNameFinder->find('FDB');
17
        
18
        $this->assertEquals("FARIDABAD", $actualResult);
19
    }
20
}
21