public ValidLogin() { //register the new user... var app = new Application("*****@*****.**", "password", "password"); new Registrator().ApplyForMembership(app); var auth = new Authenticator(); _result = auth.AuthenticateUser(new Credentials { Email = "*****@*****.**", Password = "******" }); }