@Test
public void shouldShowToastAfterRedirectedToLoginPage() throws Exception {

 fillUpFields();
    signupActivity.createUser(null);
    assertThat(ShadowToast.getTextOfLatestToast(), equalTo(signupActivity.getString(R.string.registered)+" username"));
}