Advertisement
Guest User

Untitled

a guest
Dec 12th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. @Before
  2. public void setup() {
  3. mActivity = Robolectric.buildActivity(MainActivity.class).create().get();
  4. mKeyboard = new Scanner(System.in);
  5. }
  6.  
  7. @Test
  8. public void userInteraction() {
  9. System.out.println("Enter Username and press Enter : ");
  10. mUsername = mKeyboard.nextLine();
  11. System.out.println("Enter Password and press Enter : ");
  12. mPassword = mKeyboard.nextLine();
  13. System.out.println("Trying to login...");
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement