@Test public void convertToSortsShouldThrowWhenOnUnknownOrderClause() { expectedException.expect(IllegalArgumentException.class); SortConverter.convertToSorts(ImmutableList.of("date unknown")); }
public static List<Sort> convertToSorts(List<String> jmapSorts) { Preconditions.checkNotNull(jmapSorts); return jmapSorts.stream() .map(SortConverter::toSort) .collect(Guavate.toImmutableList()); }
SortConverter { public static List<Sort> convertToSorts(List<String> jmapSorts) { Preconditions.checkNotNull(jmapSorts); return jmapSorts.stream() .map(SortConverter::toSort) .collect(Guavate.toImmutableList()); } }
SortConverter { public static List<Sort> convertToSorts(List<String> jmapSorts) { Preconditions.checkNotNull(jmapSorts); return jmapSorts.stream() .map(SortConverter::toSort) .collect(Guavate.toImmutableList()); }  }
SortConverter { public static List<Sort> convertToSorts(List<String> jmapSorts) { Preconditions.checkNotNull(jmapSorts); return jmapSorts.stream() .map(SortConverter::toSort) .collect(Guavate.toImmutableList()); }  static List<Sort> convertToSorts(List<String> jmapSorts); }
SortConverter { public static List<Sort> convertToSorts(List<String> jmapSorts) { Preconditions.checkNotNull(jmapSorts); return jmapSorts.stream() .map(SortConverter::toSort) .collect(Guavate.toImmutableList()); }  static List<Sort> convertToSorts(List<String> jmapSorts);  }