### Question:
OfferGetRequest implements RestRequest { @Override public Map<String, String> parameters() { return Collections.singletonMap("include-edits", String.valueOf(includeEdits)); } private  OfferGetRequest(OfferGetRequest.Builder builder); Long getOfferId(); boolean includeEdits(); @Override String resourcePath(); @Override Map<String, String> parameters(); @Override String toString();  }### Answer:
@Test @DisplayName("Check query parameters") void parametersTest() { assertThat(unit.parameters()) .extractingFromEntries(Map.Entry::getKey, Map.Entry::getValue) .contains(tuple("include-edits", "true")); assertThat(emptyUnit.parameters()) .extractingFromEntries(Map.Entry::getKey, Map.Entry::getValue) .contains(tuple("include-edits", "false")); }