@Test public void changingHowManyItemsShownOnPageResetsToFirstPage() throws Exception { reset(view); assetList.onChangeAmountOfItemsShown(25); verify(view).setPageNumber(1); }
public void onChangeAmountOfItemsShown(final int step) { this.step = step; updateToFirstPage(); command.execute(); }
AssetList implements IsElement { public void onChangeAmountOfItemsShown(final int step) { this.step = step; updateToFirstPage(); command.execute(); } }
AssetList implements IsElement { public void onChangeAmountOfItemsShown(final int step) { this.step = step; updateToFirstPage(); command.execute(); } @Inject  AssetList(final View view); }
AssetList implements IsElement { public void onChangeAmountOfItemsShown(final int step) { this.step = step; updateToFirstPage(); command.execute(); } @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 onChangeAmountOfItemsShown(final int step) { this.step = step; updateToFirstPage(); command.execute(); } @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();  }