### Question:
GenericAdapter extends BaseAdapter { @Override public T getItem(int i) { return list.get(i); } GenericAdapter(List<T> list); @Override int getCount(); @Override T getItem(int i); @Override long getItemId(int i); @Override View getView(int position, View convertView, ViewGroup parent); abstract View getView(T item, View recycleView, ViewGroup parent);  }### Answer:
@Test public void getItem_shouldReturnObjectAtIndex() throws Exception { assertThat(adapter.getItem(0), equalTo("one")); assertThat(adapter.getItem(1), equalTo("two")); assertThat(adapter.getItem(2), equalTo("three")); }