Advertisement
Guest User

Untitled

a guest
Jan 20th, 2017
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. @Test
  2. public void testLogin() throws Exception {
  3. System.out.println("login");
  4.  
  5. String username = "test2";
  6. String password = "test2";
  7.  
  8. ManageUser instance = new ManageUser();
  9. boolean expResult = true;
  10. instance.login(username, password);
  11. boolean result = instance.isLoggedIn();
  12. assertEquals(expResult, result);
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement