Completed
Push — master ( 201e9c...877b57 )
by Artem
11:08
created

SinchSupportedCountriesTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 2
c 1
b 0
f 1
lcom 0
cbo 2
dl 0
loc 12
rs 10
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
 * @see \Fresh\SinchBundle\Helper\SinchSupportedCountries
21
 */
22
class SinchSupportedCountriesTest extends \PHPUnit_Framework_TestCase
23
{
24
    public function testSupportedCountry()
25
    {
26
        $this->assertTrue(SinchSupportedCountries::isCountrySupported('UA'));
27
    }
28
29
    public function testUnsupportedCountry()
30
    {
31
        $this->assertFalse(SinchSupportedCountries::isCountrySupported('YO'));
32
    }
33
}
34