### Question:
ListAdapterHelper { @SuppressWarnings("WeakerAccess") public T getItem(int index) { if (mList == null) { throw new IndexOutOfBoundsException("Item count is zero, getItem() call is invalid"); } return mList.get(index); } @SuppressWarnings("WeakerAccess")  ListAdapterHelper(ListUpdateCallback listUpdateCallback,
            ListAdapterConfig<T> config); @SuppressWarnings("WeakerAccess") T getItem(int index); @SuppressWarnings("WeakerAccess") int getItemCount(); @SuppressWarnings("WeakerAccess") void setList(final List<T> newList);  }### Answer:
@Test(expected = IndexOutOfBoundsException.class) public void getEmpty() { ListAdapterHelper<String> helper = createHelper(IGNORE_CALLBACK, STRING_DIFF_CALLBACK); helper.getItem(0); }