Total Complexity | 5 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class AccountTest extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @var Account |
||
12 | */ |
||
13 | private $resource; |
||
14 | |||
15 | public function testShow() |
||
16 | { |
||
17 | $account = $this->resource->show(); |
||
18 | $this->assertSame('test', $account['name']); |
||
19 | } |
||
20 | |||
21 | public function testFind() |
||
22 | { |
||
23 | $this->expectExceptionMessage('The find method of this resource is not supported'); |
||
24 | $this->resource->find('test'); |
||
25 | } |
||
26 | |||
27 | public function testFindAll() |
||
28 | { |
||
29 | $this->expectExceptionMessage('The findAll method of this resource is not supported'); |
||
30 | $this->resource->findAll(); |
||
31 | } |
||
32 | |||
33 | public function testSearch() |
||
37 | } |
||
38 | |||
39 | protected function setUp() |
||
43 | } |
||
44 | } |
||
45 |