PaginatingListComponent extends ListComponent<P, T> { @Override public int getCount() { return super.getCount() + (mShouldShowFooter ? 1 : 0); } PaginatingListComponent(
            @NonNull P presenter,
            @NonNull Class<? extends ComponentViewHolder<P, T>> listItemViewHolder); @Nullable @Override P getPresenter(int position); @Nullable @Override Object getItem(int position); @Override int getCount(); @NonNull @Override Class<? extends ComponentViewHolder> getHolderType(int position); @NonNull Observable<Integer> getFurthestObservable(); void toggleLoadingFooter(boolean shouldShowFooter); void setLoadingFooter(@NonNull Class<? extends LoadingFooterViewHolder> loadingFooter);  }
@Test public void addSomeItems() { addItems(5); assertEquals(9, mPaginatingListComponent.getCount()); }