CityNameFinderTest::findTest()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
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