@Test
void should_IgnoreMapContent_When_ApplyingSortingParams() throws Exception {

  MultiValueMap<String, String> map = new LinkedMultiValueMap<>();
  String key = "unknown";
  List<String> value = Collections.singletonList("sort-by");
  map.put(key, value);
  map.put(QueryHelper.SORT_BY, Collections.singletonList("sort-by"));
  applyAndRemoveSortingParams(map, mock(MockBiConsumer.class));
  assertThat(map).containsExactly(new SimpleEntry<>(key, value));
}