### Question:
ContentAdapter extends BaseAdapter { @Override public long getItemId(int position) { return position; } ContentAdapter(Context context, List<ContentHolder> list); @Override int getCount(); @Override ContentHolder getItem(int position); @Override long getItemId(int position); @Override View getView(int position, View convertView, ViewGroup parent);  }### Answer:
@Test public void getItemId() throws Exception { ContentAdapter contentAdapter = new ContentAdapter(context, list); assertThat(contentAdapter.getItemId(0)).isEqualTo(0); assertThat(contentAdapter.getItemId(1)).isEqualTo(1); }