public void testCreateWithOptions() throws Exception {
for (String regionId : regions) {
ImmutableMultimap<String, String> headers =
ImmutableMultimap.of(SwiftHeaders.STATIC_WEB_INDEX, "__index.html",
SwiftHeaders.STATIC_WEB_ERROR, "__error.html");
CreateContainerOptions opts = new CreateContainerOptions().headers(headers);
assertNotNull(api.getContainerApiForRegion(regionId).create(name, opts));
Container container = api.getContainerApiForRegion(regionId).get(name);
assertNotNull(container);