@Test @Ignore // WIP
public void shouldCheckIfUsernameIsAlreadyTakenInMobile() throws Exception {

    signupActivity.getContext().getSharedPreferences().edit().putString("user_username","{}").commit();
    userName  = mock(EditText.class);
    doReturn(userName).when(signupActivity).findViewById(R.id.username);
 fillUpFields();
    signupActivity.createUser(null);
    assertThat(ShadowToast.getTextOfLatestToast(), equalTo(signupActivity.getString(R.string.username_taken)));
    verify(userName).setError(signupActivity.getString(R.string.username_taken));
}