Completed
Push — master ( 2220bb...201e9c )
by Artem
02:47
created

testSupportedCountry()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
/*
3
 * This file is part of the FreshSinchBundle
4
 *
5
 * (c) Artem Genvald <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Fresh\SinchBundle\Tests\Helper;
12
13
use Fresh\SinchBundle\Helper\SinchSupportedCountries;
14
15
/**
16
 * SinchSupportedCountriesTest.
17
 *
18
 * @author Artem Genvald <[email protected]>
19
 */
20
class SinchSupportedCountriesTest extends \PHPUnit_Framework_TestCase
21
{
22
    public function testSupportedCountry()
23
    {
24
        $this->assertTrue(SinchSupportedCountries::isCountrySupported('UA'));
25
    }
26
27
    public function testUnsupportedCountry()
28
    {
29
        $this->assertFalse(SinchSupportedCountries::isCountrySupported('AQ'));
30
    }
31
}
32