### Question:
RunnerRequest extends BasePricesRequest { @Override public Map<String, String> parameters() { Map<String, String> parameters = new HashMap<>(); if (includePrices) { parameters.put("include-prices", "true"); parameters.putAll(pricesParameters()); } return parameters; } private  RunnerRequest(Init<?> init); Long getEventId(); Long getMarketId(); Long getRunnerId(); boolean includePrices(); @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-prices", "true")); assertThat(emptyUnit.parameters()).doesNotContainKeys("include-prices"); }