> + * Tests behavior of {@link PutOptions}.
> + */
> +@Test(groups = "unit")
> +public class PutOptionsTest {
> +
> +   public void testPutMetadata() {
> +      PutOptions options = 
> +            new PutOptions().metadata(ImmutableMap.of("ApiName", "swift"));
> +      assertEquals(ImmutableList.of("swift"), 
> options.buildRequestHeaders().get(OBJECT_METADATA_PREFIX + "apiname"));
> +
> +   }
> +
> +   public void testPutHeaders() {
> +      PutOptions options = 
> +            new PutOptions().headers(ImmutableMultimap.of(OBJECT_DELETE_AT, 
> "123456789"));
> +      assertEquals(ImmutableList.of("123456789"), 
> options.buildRequestHeaders().get(OBJECT_DELETE_AT));

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#r13035237

Reply via email to