// note silly casing
.addHeader("X-Container-Meta-Apiname", "swift") //
.addHeader("X-Container-Meta-Apiversion", "v1.1"));
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());