> @@ -80,6 +102,31 @@ public void testListWithOptions() throws Exception {
>        }
>     }
>  
> +   public void testUpdate() throws Exception {
> +      for (String regionId : regions) {
> +         ImmutableMultimap<String, String> headers = 
> ImmutableMultimap.of(SwiftHeaders.STATIC_WEB_INDEX, "__index.html", 
> SwiftHeaders.STATIC_WEB_ERROR, "__error.html");
> +         UpdateContainerOptions opts = new 
> UpdateContainerOptions().headers(headers);
> +
> +         assertNotNull(api.getContainerApiForRegion(regionId).create(name));
> +
> +         Container container = 
> api.getContainerApiForRegion(regionId).get(name);
> +         assertNotNull(container);
> +         assertEquals(container.getName(), name);
> +         assertEquals(container.getMetadata().size(), 0);

`assertTrue(...isEmpty())`?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/107/files#r13035225

Reply via email to