> @@ -68,7 +68,16 @@ public void testListWithOptions() throws Exception {
> assertTrue(container.getBytesUsed() == 0);
> }
> }
> -
> +
> + public void testHead() throws Exception {
> + for (String regionId : regions) {
> + Container container = api.containerApiInRegion(regionId).head(name);
> + assertEquals(container.getName(), name);
> + assertTrue(container.getObjectCount() == 0);
> + assertTrue(container.getBytesUsed() == 0);
Use `assertEquals(..., 0)` here?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/89/files#r11322899