### Question:
ListMixin implements Mixin { public ListAdapter getAdapter() { final ListView listView = getListViewInternal(); if (listView != null) { final ListAdapter adapter = listView.getAdapter(); if (adapter instanceof HeaderViewListAdapter) { return ((HeaderViewListAdapter) adapter).getWrappedAdapter(); } return adapter; } return null; } ListMixin(
      @NonNull TemplateLayout layout, @Nullable AttributeSet attrs, @AttrRes int defStyleAttr); ListView getListView(); void onLayout(); ListAdapter getAdapter(); void setAdapter(ListAdapter adapter); @Deprecated void setDividerInset(int inset); void setDividerInsets(int start, int end); @Deprecated int getDividerInset(); int getDividerInsetStart(); int getDividerInsetEnd(); Drawable getDivider();  }### Answer:
@Test public void testGetAdapter() { mListView.setAdapter(mAdapter); ListMixin mixin = new ListMixin(mTemplateLayout, null, 0); assertSame(mAdapter, mixin.getAdapter()); }