> +import org.testng.annotations.Test;
> +
> +/**
> +*
> +* @author Roman Coedo
> +*/
> +@Test(groups = { "integration", "live" })
> +public class GlacierClientLiveTest {
> +
> +   static GlacierClient getGlacierClient() {
> +      return ContextBuilder.newBuilder("glacier").credentials("ADDME", 
> "ADDME").buildApi(GlacierClient.class);
> +   }
> +
> +   @Test(groups = { "integration", "live" })
> +   public void testDeleteVaultIfEmptyOrNotFound() throws Exception {
> +      assertTrue(getGlacierClient().deleteVaultIfEmpty("testDeleteVault"));

What if such a vault exists? Could you do something like 
`deleteVaultIfEmpty(UUID.randomUUID().toString())` to make sure such a vault 
won't exist?

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

Reply via email to