}
@Test(timeOut = 5 * 60 * 1000, dependsOnMethods = { "testCreateDirectory" })
public void testListOptions() throws Exception {
String data = "here is my data!";
HashCode hashCode = Hashing.md5().hashString(data, UTF_8);
createOrReplaceObject("object2", data, hashCode, "meta-value1");
createOrReplaceObject("object3", data, hashCode, "meta-value1");
createOrReplaceObject("object4", data, hashCode, "meta-value1");
BoundedSet<? extends DirectoryEntry> r2 = getApi().listDirectory(privateDirectory, ListOptions.Builder.limit(1));
assertEquals(r2.size(), 1);