ListContainerOptions extends BaseHttpRequestOptions { public ListContainerOptions afterMarker(String marker) { queryParameters.put("marker", checkNotNull(marker, "marker")); return this; }  ListContainerOptions afterMarker(String marker); String getMarker(); ListContainerOptions maxResults(int limit); int getMaxResults(); ListContainerOptions withPrefix(String prefix); String getPrefix(); ListContainerOptions underPath(String path); String getPath(); static final ListContainerOptions NONE; }
@Test public void testMarker() { ListContainerOptions options = new ListContainerOptions(); options.afterMarker("test"); assertEquals(options.buildQueryParameters().get(SwiftConstants.MARKER), ImmutableList.of("test")); }
@Test public void testMarkerStatic() { ListContainerOptions options = afterMarker("test"); assertEquals(options.buildQueryParameters().get(SwiftConstants.MARKER), ImmutableList.of("test")); }
@Test(expectedExceptions = NullPointerException.class) public void testMarkerNPE() { afterMarker(null); }