shouldHaveType(PaginationDataHandler::class); } function it_implements_pagination_data_handler_interface(): void { $this->shouldHaveType(PaginationDataHandlerInterface::class); } function it_retrieves_data(): void { $this->retrieveData([])->shouldBeEqualTo([ PaginationDataHandlerInterface::PAGE_INDEX => 1, PaginationDataHandlerInterface::LIMIT_INDEX => PaginationDataHandlerInterface::DEFAULT_LIMIT, ]); } }