Total Complexity | 5 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
8 | class AccountTest extends TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @var AccountRepository |
||
12 | */ |
||
13 | private $repository; |
||
|
|||
14 | |||
15 | public function testShow() |
||
16 | { |
||
17 | $account = $this->resource->show(); |
||
18 | $this->assertSame('Your Company', $account->getName()); |
||
19 | } |
||
20 | |||
21 | public function testFind() |
||
25 | } |
||
26 | |||
27 | public function testFindAll() |
||
28 | { |
||
29 | $this->expectExceptionMessage('The findAll method of this repository is not supported'); |
||
30 | $this->resource->findAll(); |
||
31 | } |
||
32 | |||
33 | public function testSearch() |
||
37 | } |
||
38 | |||
39 | protected function setUp() |
||
47 | } |
||
48 | } |
||
49 |