@Test
public void loginClickStartsLogin() {

    when(view.getLoginButtonClicks()).thenReturn(Observable.just(Unit.INSTANCE));
    presenter.subscribe();
    verify(interactor).loginOrSignUp(userCredentialsPayloadCaptor.capture());
    verify(view).present(UiIndicator.idle());
    verify(view).present(uiIndicator);
    verify(interactor, never()).onLoginResultsConsumed();
    assertEquals(userCredentialsPayloadCaptor.getValue(), new SmartReceiptsUserLogin(EMAIL, PASSWORD));
}