PagedTable extends SimpleTable<T> { public void setDataProvider(final AbstractDataProvider<T> dataProvider) { this.dataProvider = dataProvider; this.dataProvider.addDataDisplay(this); } PagedTable();  PagedTable(final int pageSize);  PagedTable(final int pageSize,
                      final ProvidesKey<T> providesKey);  PagedTable(final int pageSize,
                      final ProvidesKey<T> providesKey,
                      final GridGlobalPreferences gridGlobalPreferences);  PagedTable(final int pageSize,
                      final ProvidesKey<T> providesKey,
                      final GridGlobalPreferences gridGlobalPreferences,
                      final boolean showPageSizesSelector);  PagedTable(final int pageSize,
                      final ProvidesKey<T> providesKey,
                      final GridGlobalPreferences gridGlobalPreferences,
                      final boolean showPageSizesSelector,
                      final boolean showFFButton,
                      final boolean showLButton); AbstractDataProvider<T> getDataProvider(); void setDataProvider(final AbstractDataProvider<T> dataProvider); int getPageSize(); int getPageStart(); final void loadPageSizePreferences(); boolean isDataGridMinWidthEnabled(); void enableDataGridMinWidth(boolean enabled); void setDefaultColumWidthSize(int defaultColumWidthSize); void setShowLastPagerButton(boolean showLastPagerButton); void setShowFastFordwardPagerButton(boolean showFastFordwardPagerButton); void setPageSizesSelectorDropup(boolean forceDropup,
                                           boolean dropupAuto); HasWidgets getTopToolbar(); static final int DEFAULT_PAGE_SIZE; static final int HEIGHT_OFFSET_PX; @UiField
    public UberfireSimplePager pager; @UiField
    public Select pageSizesSelector; @UiField
    public Column dataGridContainer; @UiField
    public Column topToolbar; }
@Test public void testSetDataProvider() throws Exception { PagedTable pagedTable = new PagedTable(); pagedTable.setDataProvider(dataProvider); verify(dataProvider).addDataDisplay(pagedTable); }