    @Test
    public void testGetCardViewNullViewCheck(){

        //given
        CardModel cardModel=initializeCardModel();
        SimpleCardStackAdapter simpleCardStackAdapter=initializeSimpleCardStackAdapter();
        View view=initializeView();
        ViewGroup parent=mock(ViewGroup.class);
        initializeInflater(parent,view);

        //when
       View cardView=simpleCardStackAdapter.getCardView(1, cardModel, null, parent);

        //then
       assertEquals("view instances must be equal", view, cardView);
    }