### Question:
DMNCardsGridComponent { public HTMLElement getElement() { return cardsGridComponent.getElement(); } @Inject  DMNCardsGridComponent(final ManagedInstance<DMNCardComponent> dmnCardComponent,
                                 final ManagedInstance<PMMLCardComponent> pmmlCardComponent,
                                 final ManagedInstance<DefaultCardComponent> defaultCardComponent,
                                 final CardsGridComponent cardsGridComponent,
                                 final IncludedModelsPageState pageState,
                                 final DMNCardsEmptyStateView emptyStateView); @PostConstruct void init(); void refresh(); HTMLElement getElement();  }### Answer:
@Test public void testGetElement() { final HTMLElement expectedElement = mock(HTMLElement.class); when(cardsGridComponent.getElement()).thenReturn(expectedElement); final HTMLElement actualElement = grid.getElement(); assertEquals(expectedElement, actualElement); }