@Test
public void testCreateViewHolder() {

    RecyclerItemAdapter adapter = new RecyclerItemAdapter(mItemGroup);
    FrameLayout parent = new FrameLayout(InstrumentationRegistry.getContext());
    final ItemViewHolder viewHolder =
            adapter.onCreateViewHolder(parent, R.layout.test_list_item);
    assertNotNull("Background should be set", viewHolder.itemView.getBackground());
    assertEquals("foobar", viewHolder.itemView.getTag());
}