// pre-conditions
IAuthorization authorization = user.createAuthorization("my note", IAuthorization.SCOPE_READ, 600);
assertNotNull(authorization.getToken());
// operations
authorization.destroy();
// verification
// new authorization created upon #getAuthorization() since old one is destroyed
IAuthorization newAuthorization = user.getAuthorization();
assertFalse(authorization.equals(newAuthorization));