| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | public function testFindOpen() |
||
| 19 | { |
||
| 20 | $body = $this->getMockModelsXml('case'); |
||
| 21 | $repository = $this->getMockRepository('cases', $body); |
||
| 22 | $results = $repository->findOpen(); |
||
|
|
|||
| 23 | $this->assertSameLastRequestUri('/kases/open.xml', $repository); |
||
| 24 | $this->assertCount(2, $results); |
||
| 25 | } |
||
| 36 |