### Question:
LoginPresenterImpl implements LoginPresenter { @Subscribe public void onSignedIn(SignedInEvent event){ if (mView != null) { mView.onLoadingFinished(); mView.showUserHasSignedIn(); mView.navigateToContactsActivity(); } } LoginPresenterImpl(); @VisibleForTesting  LoginPresenterImpl(LoginView view, LoginInteractor interactor, EventBus eventBus); @Override void wantToSignIn(String email, String password); @Override void wantToSignUp(String email, String password); @Override void wantToCheckAuthenticated(); @Override void onViewAttached(LoginView view); @Override void onViewDetached(); @Override void onViewDestroyed(); @Subscribe void onSignedIn(SignedInEvent event); @Subscribe void onErrorSigningIn(ErrorSigningInEvent event); @Subscribe void onSignedUp(SignedUpEvent event); @Subscribe void onErrorSigningUp(ErrorSigningUpEvent event); @Subscribe void onAuthenticated(AuthenticatedEvent event);  }### Answer:
@Test public void testOnSignedIn() throws Exception { mPresenter.onSignedIn(null); verify(mView).onLoadingFinished(); verify(mView).showUserHasSignedIn(); verify(mView).navigateToContactsActivity(); }