@Test public void testGetElement() { final HTMLElement expectedElement = mock(HTMLElement.class); when(view.getElement()).thenReturn(expectedElement); final HTMLElement actualElement = cardsGrid.getElement(); assertEquals(expectedElement, actualElement); }
public HTMLElement getElement() { return view.getElement(); }
CardsGridComponent { public HTMLElement getElement() { return view.getElement(); } }
CardsGridComponent { public HTMLElement getElement() { return view.getElement(); } @Inject  CardsGridComponent(final View view,
                              final ManagedInstance<CardFrameComponent> cardFrameInstances); }
CardsGridComponent { public HTMLElement getElement() { return view.getElement(); } @Inject  CardsGridComponent(final View view,
                              final ManagedInstance<CardFrameComponent> cardFrameInstances); void setupCards(final List<CardComponent> cards); void setEmptyState(final HTMLElement emptyStateElement); void enableReadOnlyModeForAllCards(); HTMLElement getElement(); }
CardsGridComponent { public HTMLElement getElement() { return view.getElement(); } @Inject  CardsGridComponent(final View view,
                              final ManagedInstance<CardFrameComponent> cardFrameInstances); void setupCards(final List<CardComponent> cards); void setEmptyState(final HTMLElement emptyStateElement); void enableReadOnlyModeForAllCards(); HTMLElement getElement();  }