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->getMockModels('case'); |
||
12 | $resource = $this->getMockRepository('cases', $body); |
||
13 | $results = $resource->findAll(); |
||
14 | $this->assertSameLastRequestUri('/kases/open.xml', $resource); |
||
15 | $this->assertCount(2, $results); |
||
16 | } |
||
17 | |||
18 | public function testFindOpen() |
||
25 | } |
||
26 | |||
27 | public function testFindClosed() |
||
36 |