Component { public abstract int getCount();  @Nullable abstract Object getPresenter(int position); @Nullable abstract Object getItem(int position); abstract int getCount(); @NonNull abstract Class<? extends ComponentViewHolder> getHolderType(int position); final void notifyDataChanged(); final void notifyItemRangeChanged(int positionStart, int itemCount); final void notifyItemRangeInserted(int positionStart, int itemCount); final void notifyItemRangeRemoved(int positionStart, int itemCount); final void notifyItemMoved(int fromPosition, int toPosition); void setStartGap(@Px int gapSizePx); void setEndGap(@Px int gapSizePx); void registerComponentDataObserver(@NonNull ComponentDataObserver observer); void unregisterComponentDataObserver(@NonNull ComponentDataObserver observer); void registerItemVisibilityListener(@NonNull ItemVisibilityListener listener); void unregisterItemVisibilityListener(@NonNull ItemVisibilityListener listener); int getNumberLanes(); @CallSuper void onItemVisible(int index); @CallSuper void onItemNotVisible(int index); @CallSuper void onItemAtTop(int index); @NonNull final Class<? extends ComponentViewHolder> getHolderTypeInternal(int position); @NonNull SpanSizeLookup getSpanSizeLookup(); void setSpanSizeLookup(@NonNull SpanSizeLookup lookup); void onItemsMoved(int fromIndex, int toIndex); boolean canDropItem(int fromIndex, int toIndex); boolean canPickUpItem(int index);  }
@Test public void test_GetCountNoGaps_RightCount() { assertEquals(0, mListComponent.getCount()); }