// note silly casing
.addHeader("X-Account-Meta-Apiname", "swift") //
.addHeader("X-Account-Meta-Apiversion", "v1.1")));
try {
SwiftApi api = api(server.getUrl("/").toString(), "openstack-swift");
Account account = api.accountApiInRegion("DFW").get();
assertEquals(account.containerCount(), 3l);
assertEquals(account.objectCount(), 42l);
assertEquals(account.bytesUsed(), 323479l);
for (Entry<String, String> entry : metadata.entrySet()) {
assertEquals(account.metadata().get(entry.getKey().toLowerCase()), entry.getValue());