@Test(expected = UnsupportedOperationException.class) public void testGetResultUnmodifiable() { PagingResult<Object> result = new PagingResult<>(Arrays.asList("a", "b", "c"), null, null); result.getResult().add("d"); }
public List<T> getResult() { return result; }
PagingResult { public List<T> getResult() { return result; } }
PagingResult { public List<T> getResult() { return result; } PagingResult(Collection<? extends T> result, Paging paging, PagingLinkObjects pagingLinkObjects); }
PagingResult { public List<T> getResult() { return result; } PagingResult(Collection<? extends T> result, Paging paging, PagingLinkObjects pagingLinkObjects); List<T> getResult(); Paging getPaging(); PagingLinkObjects getPagingLinkObjects(); @Override boolean equals(Object o); @Override int hashCode(); }
PagingResult { public List<T> getResult() { return result; } PagingResult(Collection<? extends T> result, Paging paging, PagingLinkObjects pagingLinkObjects); List<T> getResult(); Paging getPaging(); PagingLinkObjects getPagingLinkObjects(); @Override boolean equals(Object o); @Override int hashCode();  }