context.setExternalContext(new ServletExternalContext(
new MockServletContext(), new MockHttpServletRequest(),
new MockHttpServletResponse()));
// context.setLastEvent(new Event(this, "test"));
final CredentialsBinder cb = new CredentialsBinder(){
public void bind(HttpServletRequest request, Credentials credentials) {
((UsernamePasswordCredentials) credentials)
.setUsername("test2");
((UsernamePasswordCredentials) credentials)