| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | public function testResourceIndex() |
||
| 11 | { |
||
| 12 | $client = $this->getClientWithMockedGet('languages-index.json'); |
||
| 13 | |||
| 14 | $client = new LanguagesClient($this->getConfig(), $client); |
||
| 15 | $list = $client->index(); |
||
| 16 | |||
| 17 | foreach ($list as $language) { |
||
| 18 | $this->assertInstanceOf(Language::class, $language); |
||
| 19 | } |
||
| 34 |