.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());
}
assertEquals(server.getRequestCount(), 2);
assertEquals(server.takeRequest().getRequestLine(), "POST /tokens HTTP/1.1");
assertEquals(server.takeRequest().getRequestLine(),