GuidedDecisionTableAccordion { GuidedDecisionTableAccordionItem blankAccordionItem() { return itemManagedInstance.get(); } @Inject  GuidedDecisionTableAccordion(final View view,
                                        final ManagedInstance<GuidedDecisionTableAccordionItem> itemManagedInstance); @PostConstruct void setup(); View getView(); void addItem(final GuidedDecisionTableAccordionItem.Type type,
                        final Widget widget); void clear(); GuidedDecisionTableAccordionItem getItem(final GuidedDecisionTableAccordionItem.Type type);  }
@Test public void testBlankAccordionItem() throws Exception { final GuidedDecisionTableAccordionItem expectedItem = mock(GuidedDecisionTableAccordionItem.class); when(itemManagedInstance.get()).thenReturn(expectedItem); final GuidedDecisionTableAccordionItem item = accordion.blankAccordionItem(); verify(itemManagedInstance).get(); assertEquals(expectedItem, item); }