> +   public void testEnableStaticWebsiteListings() {
> +      Multimap<String, String> headers = 
> ImmutableMultimap.of(STATIC_WEB_LISTINGS, "true");
> +      UpdateContainerOptions options = new 
> UpdateContainerOptions().headers(headers);
> +      assertEquals(ImmutableList.of("true"), 
> options.buildRequestHeaders().get(STATIC_WEB_LISTINGS));
> +   }
> +
> +   public void testDiableStaticWebsiteListings() {
> +      Multimap<String, String> headers = 
> ImmutableMultimap.of(STATIC_WEB_LISTINGS, "false");
> +      UpdateContainerOptions options = new 
> UpdateContainerOptions().headers(headers);
> +      assertEquals(ImmutableList.of("false"), 
> options.buildRequestHeaders().get(STATIC_WEB_LISTINGS));
> +   }
> +
> +   public void testStaticWebsiteListingsCSS() {
> +      Multimap<String, String> headers = 
> ImmutableMultimap.of(STATIC_WEB_LISTINGS_CSS, "listings.css");
> +      UpdateContainerOptions options = new 
> UpdateContainerOptions().headers(headers);
> +      assertEquals(ImmutableList.of("listings.css"), 
> options.buildRequestHeaders().get(STATIC_WEB_LISTINGS_CSS));

As above, assertions the wrong way around?

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

Reply via email to