> +   public void testDeleteVaultIfEmptyOrNotFound() throws Exception {
> +      assertTrue(api.deleteVaultIfEmpty(UUID.randomUUID().toString()));
> +   }
> +
> +   @Test(groups = { "integration", "live" })
> +   public void testDescribeNonExistentVault() throws Exception {
> +      VaultMetadata vault = api.describeVault(UUID.randomUUID().toString());
> +      assertEquals(vault, null);
> +   }
> +
> +   private void testDescribeVault() throws Exception {
> +      VaultMetadata vault = api.describeVault(VAULT_NAME1);
> +      assertEquals(vault.getVaultName(), VAULT_NAME1);
> +      assertEquals(vault.getNumberOfArchives(), 0);
> +      assertEquals(vault.getSizeInBytes(), 0);
> +      assertEquals(vault.getLastInventoryDate(), null);

`assertNull`?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/4/files#r13034831

Reply via email to