ListOptions implements Cloneable { public ListOptions afterMarker(String marker) { this.marker = checkNotNull(marker, "marker"); return this; } ListOptions(Integer maxKeys, String marker);  ListOptions(); Integer getMaxResults(); String getMarker(); ListOptions afterMarker(String marker); ListOptions maxResults(int maxKeys); static final ImmutableListOptions NONE; }
@Test(expectedExceptions = NullPointerException.class) public void testMarkerNPE() { afterMarker(null); }