### Question:
RendererAdapter extends BaseAdapter { public void clear() { collection.clear(); } 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 shouldClearElementsFromAdapteeCollection() { rendererAdapter.clear(); verify(mockedCollection).clear(); }