@Test
public void shortPasswordsAreInvalid() {

    when(view.getPasswordTextChanges()).thenReturn(Observable.just("*"));
    presenter.subscribe();
    verify(view).present(new UiInputValidationIndicator(context.getString(R.string.login_fields_hint_password), true, false));
}