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