@Test void createSortsAsc() { List<SortBuilder> sorts = sortContentBuilder.createSorts(Sort.create(singletonList(SortOrder.create("field", ASC)))); assertSortsEqual(sorts, singletonList(JSON_SORT_ASC)); }
List<SortBuilder> createSorts(Sort sort) { return sort.getOrders().stream().map(this::createSort).collect(toList()); }
SortContentBuilder { List<SortBuilder> createSorts(Sort sort) { return sort.getOrders().stream().map(this::createSort).collect(toList()); } }
SortContentBuilder { List<SortBuilder> createSorts(Sort sort) { return sort.getOrders().stream().map(this::createSort).collect(toList()); }  }
SortContentBuilder { List<SortBuilder> createSorts(Sort sort) { return sort.getOrders().stream().map(this::createSort).collect(toList()); }   }
SortContentBuilder { List<SortBuilder> createSorts(Sort sort) { return sort.getOrders().stream().map(this::createSort).collect(toList()); }    }