### Question:
QueryResults implements Serializable { @SuppressWarnings("unchecked") public static <T> QueryResults<T> emptyResults() { return (QueryResults<T>) EMPTY; } QueryResults(List<T> results, @Nullable Long limit, @Nullable Long offset, long total);  QueryResults(List<T> results, QueryModifiers mod, long total); @SuppressWarnings("unchecked") static QueryResults<T> emptyResults(); List<T> getResults(); long getTotal(); boolean isEmpty(); long getLimit(); long getOffset();  }### Answer:
@Test public void emptyResults() { QueryResults<Object> empty = QueryResults.emptyResults(); assertTrue(empty.isEmpty()); assertEquals(Long.MAX_VALUE, empty.getLimit()); assertEquals(0L, empty.getOffset()); assertEquals(0L, empty.getTotal()); assertEquals(Collections.emptyList(), empty.getResults()); }