@Test
public void testSetupAccordionWidget() {

    final VerticalPanel defaultPanel = mock(VerticalPanel.class);
    final GuidedDecisionTableAccordionItem.Type accordionType = METADATA;
    final Consumer<VerticalPanel> setWidget = (panel) -> assertEquals(panel, defaultPanel);
    doReturn(defaultPanel).when(presenter).makeDefaultPanel();
    presenter.setupAccordionWidget(accordionType, setWidget);
    verify(accordion).addItem(accordionType, defaultPanel);
}