| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class CountriesTest extends TestCase |
||
| 9 | { |
||
| 10 | public function testIndex() |
||
| 11 | { |
||
| 12 | $client = $this->getClientWithMockedGet('countries-index.json'); |
||
| 13 | |||
| 14 | $client = new CountriesClient($this->getConfig(), $client); |
||
| 15 | $list = $client->index(); |
||
| 16 | |||
| 17 | foreach ($list as $continent) { |
||
| 18 | $this->assertInstanceOf(Country::class, $continent); |
||
| 19 | } |
||
| 20 | } |
||
| 21 | |||
| 22 | public function testShow() |
||
| 30 | } |
||
| 31 | } |
||
| 32 |