@Test public void testGetContent() { final HTMLElement expectedContent = mock(HTMLElement.class); when(cardView.getElement()).thenReturn(expectedContent); final HTMLElement actualContent = card.getContent(); assertEquals(expectedContent, actualContent); }
@Override public HTMLElement getContent() { return contentView.getElement(); }
BaseCardComponent implements CardComponent { @Override public HTMLElement getContent() { return contentView.getElement(); } }
BaseCardComponent implements CardComponent { @Override public HTMLElement getContent() { return contentView.getElement(); } BaseCardComponent(final V contentView,
                             final Event<RefreshDecisionComponents> refreshDecisionComponentsEvent); }
BaseCardComponent implements CardComponent { @Override public HTMLElement getContent() { return contentView.getElement(); } 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 HTMLElement getContent() { return contentView.getElement(); } 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();  }