invokeAction("#{identity.login}");
}
@Override
protected void renderResponse() throws Exception {
assert getValue("#{identity.loggedIn}").equals(Boolean.TRUE);
User currentUser = (User) getValue("#{currentUser}");
assert currentUser.getUserName().equals("user1");
}
}.run();
id = new FacesRequest("/checkout.xhtml", id) {
@Override