### Question:
ItemViewHolder extends ViewHolder { @Nullable public Object getListener() { return mListener; } ItemViewHolder(View view);  ItemViewHolder(View view, T item); T getItem(); void setItem(T item); abstract void onSetValues(T item, PositionInfo positionInfo); void onSetListeners(); @Nullable Object getListener(); @Nullable P getListener(Class<P> type);  }### Answer:
@Test public void testGeListenerWhenEmpty() throws Exception { View view = new View(RuntimeEnvironment.application); ItemViewHolder itemViewHolder = new ValidItemViewHolder(view); Assert.assertNull(itemViewHolder.getListener()); Assert.assertNull(itemViewHolder.getListener(ValidItemViewHolder.ValidItemViewHolderListener.class)); }