try {
SwiftApi api = api(server.getUrl("/").toString(), "openstack-swift");
Container container = api.containerApiInRegion("DFW").get("myContainer");
assertEquals(container.name(), "myContainer");
assertEquals(container.objectCount(), 42l);
assertEquals(container.bytesUsed(), 323479l);
for (Entry<String, String> entry : container.metadata().entrySet()) {
assertEquals(container.metadata().get(entry.getKey().toLowerCase()), entry.getValue());
}