> +      
> +      User newUser = userApi.add(randUser, email, true, password);
> +      
> +      // validate that our new user exists
> +      Set<? extends User> newUsers = userApi.list().concat().toSet();
> +      assertTrue(newUsers.contains(newUser));
> +      
> +      // validate that we can delete our user
> +      assertTrue(userApi.delete(newUser.getId()));
> +      
> +      // validate that the user no longer exists
> +      Set<? extends User> finalUsers = userApi.list().concat().toSet();
> +      assertEquals(initialUsers, finalUsers);
> +   }
> +   
> +   public void testDeleteInvalidUser() {

See comment above...is this "silent failure" what we think users will want in 
all cases?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/290/files#r9720539

Reply via email to