@Test public void testGetUUID() { final BaseIncludedModelActiveRecord includedModel = mock(BaseIncludedModelActiveRecord.class); final String expectedUUID = "123"; when(includedModel.getUUID()).thenReturn(expectedUUID); doReturn(includedModel).when(card).getIncludedModel(); final String actualUUID = card.getUUID(); assertEquals(expectedUUID, actualUUID); }
@Override public String getUUID() { return getIncludedModel().getUUID(); }
BaseCardComponent implements CardComponent { @Override public String getUUID() { return getIncludedModel().getUUID(); } }
BaseCardComponent implements CardComponent { @Override public String getUUID() { return getIncludedModel().getUUID(); } BaseCardComponent(final V contentView,
                             final Event<RefreshDecisionComponents> refreshDecisionComponentsEvent); }
BaseCardComponent implements CardComponent { @Override public String getUUID() { return getIncludedModel().getUUID(); } BaseCardComponent(final V contentView,
                             final Event<RefreshDecisionComponents> refreshDecisionComponentsEvent); @PostConstruct void init(); void setup(final DMNCardsGridComponent grid,
                      final R includedModel); @Override HasCssName getIcon(); @Override String getTitle(); @Override String getUUID(); @Override HTMLElement getContent(); @Override Function<String, Boolean> onTitleChanged(); void remove(); }
BaseCardComponent implements CardComponent { @Override public String getUUID() { return getIncludedModel().getUUID(); } BaseCardComponent(final V contentView,
                             final Event<RefreshDecisionComponents> refreshDecisionComponentsEvent); @PostConstruct void init(); void setup(final DMNCardsGridComponent grid,
                      final R includedModel); @Override HasCssName getIcon(); @Override String getTitle(); @Override String getUUID(); @Override HTMLElement getContent(); @Override Function<String, Boolean> onTitleChanged(); void remove();  }