| 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 testProposalIndex() |
||
| 11 | { |
||
| 12 | $client = $this->getClientWithMockedGet('proposals-index.json'); |
||
| 13 | |||
| 14 | $client = new ProposalsClient($this->getConfig(), $client); |
||
| 15 | $list = $client->index('test'); |
||
| 16 | |||
| 17 | foreach ($list as $item) { |
||
| 18 | $this->assertInstanceOf(Proposal::class, $item); |
||
| 19 | } |
||
| 51 |