@Test
public void shouldNotSendRequestToServerIfFieldsAreInValid() {

    newPassword = mock(EditText.class);
    newPasswordConfirm = mock(EditText.class);
    currentPassword = mock(EditText.class);
    doReturn(currentPassword).when(changePasswordActivity).findViewById(R.id.current_password);
    doReturn(newPassword).when(changePasswordActivity).findViewById(R.id.new_password);
    doReturn(newPasswordConfirm).when(changePasswordActivity).findViewById(R.id.new_password_confirm);
    changeButton.performClick();
    verify(changePasswordActivity, never()).sendRequestToServer(anyString(),anyString(),anyString());
}