    @Test
    public void loadAllAnnouncement_RuntimeError_ShowError() {



        when(dataManager.getAllAnnouncement(option)).thenReturn(
                Observable.<Announcements>error(new RuntimeException()));

        announcementPresenter.loadAllAnnouncement(1);

        verify(announcementMvpView, never()).showSnackBar(R.string.no_more_announcement_available);
        verify(announcementMvpView, never()).removeLoadMoreProgressBar();
        verify(announcementMvpView, never()).showAllAnnouncement(announcements);
        verify(announcementMvpView).showSnackBar(R.string.failed_to_fetch_announcement);
    }