### Question:
RendererAdapter extends BaseAdapter { @Override public int getItemViewType(int position) { T content = getItem(position); return rendererBuilder.getItemViewType(content); } RendererAdapter(RendererBuilder<T> rendererBuilder);  RendererAdapter(RendererBuilder<T> rendererBuilder, AdapteeCollection<T> collection); @Override int getCount(); @Override T getItem(int position); @Override long getItemId(int position); void setCollection(AdapteeCollection<T> collection); @Override View getView(int position, View convertView, ViewGroup parent); @Override int getItemViewType(int position); @Override int getViewTypeCount(); void add(T element); void remove(Object element); void addAll(Collection<? extends T> elements); void removeAll(Collection<?> elements); void clear();  }### Answer:
@Test public void shouldDelegateIntoRendererBuilderToGetItemViewType() { when(mockedCollection.get(ANY_POSITION)).thenReturn(ANY_OBJECT); when(mockedRendererBuilder.getItemViewType(ANY_OBJECT)).thenReturn(ANY_ITEM_VIEW_TYPE); assertEquals(ANY_ITEM_VIEW_TYPE, rendererAdapter.getItemViewType(ANY_POSITION)); }