| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 22 | public function testResourceSearch() |
||
| 23 | { |
||
| 24 | $client = $this->getClientWithMockedGet('languages-search.json'); |
||
| 25 | |||
| 26 | $client = new LanguagesClient($this->getConfig(), $client); |
||
| 27 | $list = $client->search("br"); |
||
| 28 | |||
| 29 | foreach ($list as $language) { |
||
| 30 | $this->assertInstanceOf(Language::class, $language); |
||
| 31 | } |
||
| 34 |