>           assertTrue(account.getBytesUsed() >= 0);
>        }
>     }
>  
> +   /**
> +    * Tests the {@link AccountApi#getMetadata()} method.
> +    * 
> +    * @throws Exception if there is an exception.
> +    */
> +   public void testGetAccountMetadata() throws Exception {
> +      for (String regionId : api.getConfiguredRegions()) {
> +         AccountApi accountApi = api.getAccountApiForRegion(regionId);
> +         Map<String, String> metadata = accountApi.getMetadata();
> +
> +         assertNotNull(metadata);         
> +         assertTrue(metadata.size() >= 0);

How could a map have negative size?

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

Reply via email to