@Test
public void mockRecyclerView() {

    RecyclerView view = AndroidMocks.mockRecyclerView();
    assertThat(view).isNotNull();
    assertThat(view.getAdapter()).isNull();
    assertThat(view.getLayoutManager()).isNull();
    view.setLayoutManager(mock(RecyclerView.LayoutManager.class));
    assertThat(view.getLayoutManager()).isNotNull();
    view.setAdapter(mock(RecyclerView.Adapter.class));
    assertThat(view.getAdapter()).isNotNull();
}