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