Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class ShortUrlRepositoryAdapterTest extends TestCase |
||
12 | { |
||
13 | /** @var ShortUrlRepositoryAdapter */ |
||
14 | private $adapter; |
||
15 | /** @var ObjectProphecy */ |
||
16 | private $repo; |
||
17 | |||
18 | public function setUp(): void |
||
19 | { |
||
20 | $this->repo = $this->prophesize(ShortUrlRepositoryInterface::class); |
||
21 | $this->adapter = new ShortUrlRepositoryAdapter($this->repo->reveal(), 'search', ['foo', 'bar'], 'order'); |
||
22 | } |
||
23 | |||
24 | /** @test */ |
||
25 | public function getItemsFallbacksToFindList(): void |
||
29 | } |
||
30 | |||
31 | /** @test */ |
||
32 | public function countFallbacksToCountList(): void |
||
36 | } |
||
37 | } |
||
38 |