@Test
public void testMultipleFieldsSort() throws Exception {

    Map<String, Object> rawSort = readFiltersFromResources("MultipleSortRequest.json");
    List<RequestSort> requestSorts = SortParser.parseSort(rawSort);
    Assertions.assertThat(requestSorts)
            .hasSize(2)
            .containsSequence(RequestSort.of("name", SortType.ASC), RequestSort.of("last", SortType.DESC));
}