| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class CasesTest extends TestCase |
||
| 8 | { |
||
| 9 | public function testFindAll() |
||
| 10 | { |
||
| 11 | $body = $this->getMockModelsXml('case'); |
||
| 12 | $repository = $this->getMockRepository('cases', $body); |
||
| 13 | $results = $repository->findAll(); |
||
| 14 | $this->assertSameLastRequestUri('/kases/open.xml', $repository); |
||
| 15 | $this->assertCount(2, $results); |
||
| 16 | } |
||
| 17 | |||
| 18 | public function testFindOpen() |
||
| 25 | } |
||
| 26 | |||
| 27 | public function testFindClosed() |
||
| 36 |