@Test public void testResetPageRangeIndicator() throws Exception { assetList.onChangeAmountOfItemsShown(25); assetList.add(mock(HTMLElement.class)); assetList.add(mock(HTMLElement.class)); reset(view); assetList.resetPageRangeIndicator(); verify(view).hideEmptyState(); assetList.add(mock(HTMLElement.class)); verify(view).range(1, 25); }
public void resetPageRangeIndicator() { updateToFirstPage(); view.range(1, step); view.hideEmptyState(); }
AssetList implements IsElement { public void resetPageRangeIndicator() { updateToFirstPage(); view.range(1, step); view.hideEmptyState(); } }
AssetList implements IsElement { public void resetPageRangeIndicator() { updateToFirstPage(); view.range(1, step); view.hideEmptyState(); } @Inject  AssetList(final View view); }
AssetList implements IsElement { public void resetPageRangeIndicator() { updateToFirstPage(); view.range(1, step); view.hideEmptyState(); } @Inject  AssetList(final View view); void resetPageRangeIndicator(); void clear(); void add(final HTMLElement element); void showEmptyState(final String topic,
                               final String message); Integer getStep(); void onChangeAmountOfItemsShown(final int step); void onToFirstPage(); void onToNextPage(); void onToPrevious(); void onPageNumberChange(final int pageNumber); @Override HTMLElement getElement(); void addChangeHandler(final Command command); int getFirstIndex(); }
AssetList implements IsElement { public void resetPageRangeIndicator() { updateToFirstPage(); view.range(1, step); view.hideEmptyState(); } @Inject  AssetList(final View view); void resetPageRangeIndicator(); void clear(); void add(final HTMLElement element); void showEmptyState(final String topic,
                               final String message); Integer getStep(); void onChangeAmountOfItemsShown(final int step); void onToFirstPage(); void onToNextPage(); void onToPrevious(); void onPageNumberChange(final int pageNumber); @Override HTMLElement getElement(); void addChangeHandler(final Command command); int getFirstIndex();  }