@Test
public void testSetupAccordionWidgets() {

    final VerticalPanel verticalPanel = mock(VerticalPanel.class);
    doReturn(verticalPanel).when(presenter).makeDefaultPanel();
    presenter.setupAccordionWidgets();
    verify(presenter).setupAccordionWidget(eq(ATTRIBUTE), any());
    verify(presenter).setupAccordionWidget(eq(METADATA), any());
    verify(presenter).setupAccordionWidget(eq(CONDITION), any());
    verify(presenter).setupAccordionWidget(eq(ACTION), any());
    assertEquals(verticalPanel, presenter.getAttributeWidget());
    assertEquals(verticalPanel, presenter.getMetaDataWidget());
    assertEquals(verticalPanel, presenter.getConditionsWidget());
    assertEquals(verticalPanel, presenter.getActionsWidget());
}