@Test
void should_CallConsumerWithAscSortDirection_When_MapDoesNotContainSortDirection()
    throws Exception {

  MultiValueMap<String, String> map = new LinkedMultiValueMap<>();
  map.put(QueryHelper.SORT_BY, Collections.singletonList("sort-by-value"));
  MockBiConsumer consumer = mock(MockBiConsumer.class);
  applyAndRemoveSortingParams(map, consumer);
  verify(consumer).accept(any(), eq(SortDirection.ASCENDING));
  verifyNoMoreInteractions(consumer);
}