budabum

Untitled

Jan 29th, 2012
119
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 2a)
  2. public void loginWithCorrectUser(){
  3.   User.newUser(UserTypes.EXISTENT).doLogin();
  4.   Checker.check("LoggedIn", true);
  5. }
  6. 2b)
  7. public void testLogout(){
  8.   User user1 = User.newUser(UserTypes.EXISTENT).doLogin();
  9.   Checker.check("LoggedIn", true);
  10.   user1.doLogout();
  11.   Checker.check("LoggedIn", false);
  12.   Checker.check("LoggedOut");
RAW Paste Data