### Question:
PageableRequest implements RestRequest { protected Map<String, String> pageParameters() { Map<String, String> parameters = new HashMap<>(2); parameters.put("offset", String.valueOf(offset)); parameters.put("per-page", String.valueOf(perPage)); return parameters; } protected  PageableRequest(Init<?> init); int getOffset(); int getPerPage();  }### Answer:
@Test @DisplayName("Query parameters contain pagination params") void pageParametersTest() { Map<String, String> parameters = unit.parameters(); assertThat(parameters) .extractingFromEntries(Map.Entry::getKey, Map.Entry::getValue) .contains( tuple("offset", String.valueOf(offset)), tuple("per-page", String.valueOf(perPage)) ); }