SignInPresenter extends BasePresenter<SignInView> { public void onErrorCancel() { getViewState().hideError(); } SignInPresenter(); void signIn(String email, String password); void onErrorCancel();  }
@Test public void signin_shouldOnErrorCancel() { presenter.onErrorCancel(); verify(signInViewState).hideError(); }