BankDealDetailPresenter extends BasePresenter<BankDealDetail.View> implements Callback { @Override public void onError() { getView().hideLogo(); }  @Override void attachView(final BankDealDetail.View view); @Override void onSuccess(); @Override void onError();  }
@Test public void whenGetViewCallbackOnErrorThenHideLogo(){ presenter.onError(); verify(view).hideLogo(); verifyNoMoreInteractions(view); }