### Question:
PagedListAdapterHelper { @SuppressWarnings("WeakerAccess") @Nullable public T getItem(int index) { if (mList == null) { throw new IndexOutOfBoundsException("Item count is zero, getItem() call is invalid"); } mList.loadAround(index); return mList.get(index); } @SuppressWarnings("WeakerAccess")  PagedListAdapterHelper(RecyclerView.Adapter adapter, DiffCallback<T> diffCallback); @SuppressWarnings("WeakerAccess")  PagedListAdapterHelper(ListUpdateCallback listUpdateCallback,
            ListAdapterConfig<T> config); @SuppressWarnings("WeakerAccess") @Nullable T getItem(int index); @SuppressWarnings("WeakerAccess") int getItemCount(); void setList(final PagedList<T> pagedList); @SuppressWarnings("WeakerAccess") @Nullable PagedList<T> getCurrentList();  }### Answer:
@Test(expected = IndexOutOfBoundsException.class) public void getEmpty() { PagedListAdapterHelper<String> helper = createHelper(IGNORE_CALLBACK, STRING_DIFF_CALLBACK); helper.getItem(0); }