@Test
public void testOnFinishDone() throws Exception {

    View view = mViewHolder.getView();
    ViewGroup.LayoutParams params = mock(ViewGroup.LayoutParams.class);
    when(view.getLayoutParams()).thenReturn(params);
    mViewHolder.onFinish(true);
    verify(view).setVisibility(View.VISIBLE);
    assertEquals(ViewGroup.LayoutParams.WRAP_CONTENT, params.height);
}