    @Test
    public void populate() {

        View view = inflate(activityContext, R.layout.home_card_resto);
        RestoCardViewHolder viewHolder = new RestoCardViewHolder(view, adapter);
        RestoMenuCard card = generate(RestoMenuCard.class);
        viewHolder.populate(card);

        MenuTable table = view.findViewById(R.id.menu_table);
        RestoMenu actualMenu = table.getMenu();

        assertEquals(card.getRestoMenu(), actualMenu);

        view.performClick();

        Intent expected = new Intent(view.getContext(), MainActivity.class);
        Intent actual = getShadowApplication().getNextStartedActivity();
        assertEquals(expected.getComponent(), actual.getComponent());
        assertEquals(actualMenu.getDate(), actual.getSerializableExtra(RestoFragment.ARG_DATE));
        assertEquals(R.id.drawer_resto, actual.getIntExtra(MainActivity.ARG_TAB, -1));
    }