BasePresenter implements Presenter { protected void showError(Throwable e) { getView().showError(e.getMessage()); } BasePresenter(); @Override void onStop();  }
@Test public void testShowError() throws Exception { Throwable throwable = new Throwable(TestConst.TEST_ERROR); basePresenter.showError(throwable); verify(view).showError(TestConst.TEST_ERROR); }