@Test
void should_RemoveSortByAndOrderDirection_When_ApplyingSortingParams() throws Exception {

  MultiValueMap<String, String> map = new LinkedMultiValueMap<>();
  map.put(QueryHelper.SORT_BY, Collections.singletonList("sort-by"));
  map.put(QueryHelper.ORDER_DIRECTION, Collections.singletonList("order"));
  applyAndRemoveSortingParams(map, mock(MockBiConsumer.class));
  assertThat(map).isEmpty();
}