@Test
public void testOnViewInflated() throws Exception {

    //Given
    given(shuffleSettings.getNumberOfDisplayedCards()).willReturn(3);
    //When
    shuffle.onViewInflated();
    //Then
    assertThat(shuffle.draggableViews).hasSize(3);
    verify(shuffle, times(3)).updateDraggableView(any(CardDraggableView.class));
    verify(shuffle, times(3)).addView(any(View.class));
    verify(shuffle, times(1)).updateAdapter();
    verify(shuffle, times(1)).setFirstCardDraggable();
}