@Test
public void testGetTitle() throws Exception {

    final GuidedDecisionTableAccordionItem.Type type = GuidedDecisionTableAccordionItem.Type.CONDITION;
    final String title = "title";
    when(translationService.format(type.getTitleKey())).thenReturn(title);
    when(item.getType()).thenReturn(type);
    final String itemTitle = item.getTitle();
    assertEquals(title, itemTitle);
}