@Test public void testOnError() throws Exception { presenter.onError(throwable); verify(view).onError(throwable.toString()); }
@Override void onError(Throwable e) { if (isViewAttached()) { getView().onError(e.toString()); } }
SchedulePresenter extends RxPresenter<ScheduleView, ArrayList<Event>> implements Comparator<Event> { @Override void onError(Throwable e) { if (isViewAttached()) { getView().onError(e.toString()); } } }
SchedulePresenter extends RxPresenter<ScheduleView, ArrayList<Event>> implements Comparator<Event> { @Override void onError(Throwable e) { if (isViewAttached()) { getView().onError(e.toString()); } }  }
SchedulePresenter extends RxPresenter<ScheduleView, ArrayList<Event>> implements Comparator<Event> { @Override void onError(Throwable e) { if (isViewAttached()) { getView().onError(e.toString()); } }  void updateEvents(); @Override int compare(Event lhs, Event rhs); }
SchedulePresenter extends RxPresenter<ScheduleView, ArrayList<Event>> implements Comparator<Event> { @Override void onError(Throwable e) { if (isViewAttached()) { getView().onError(e.toString()); } }  void updateEvents(); @Override int compare(Event lhs, Event rhs);  }