@Test @Ignore
public void shouldValidateUserNameAndPassword() {

    doCallRealMethod().when(loginActivity).isValid();
    given(loginActivity.userNameView.getText().toString()).willReturn("test");
    given(loginActivity.passwordView.getText().toString()).willReturn("test");
    assertTrue(loginActivity.isValid());
}