AbstractListPresenter implements RefreshMenuBuilder.SupportsRefresh { public void onDeselectAllItemsEvent(@Observes DeselectAllItemsEvent event) { deselectAllItems(); } AbstractListPresenter(); abstract void getData(Range visibleRange); void updateDataOnCallback(PageResponse response); void updateDataOnCallback(List<T> instanceSummaries,
                                     int startRange,
                                     int totalRowCount,
                                     boolean isExact); void addDataDisplay(final HasData<T> display); AsyncDataProvider<T> getDataProvider(); @Override void onRefresh(); void refreshGrid(); void onDeselectAllItemsEvent(@Observes DeselectAllItemsEvent event); void deselectAllItems();  }
@Test public void testOnDeselectAllItemsEvent() { testListPresenter.onDeselectAllItemsEvent(mock(DeselectAllItemsEvent.class)); verify(extendedPagedTable).deselectAllItems(); verifyNoMoreInteractions(extendedPagedTable); }