@Test public void testGetElement() { final HTMLElement expectedElement = mock(HTMLElement.class); when(view.getElement()).thenReturn(expectedElement); final HTMLElement actualElement = cardFrame.getElement(); assertEquals(expectedElement, actualElement); }
public HTMLElement getElement() { return getView().getElement(); }
CardFrameComponent { public HTMLElement getElement() { return getView().getElement(); } }
CardFrameComponent { public HTMLElement getElement() { return getView().getElement(); } @Inject  CardFrameComponent(final View view); }
CardFrameComponent { public HTMLElement getElement() { return getView().getElement(); } @Inject  CardFrameComponent(final View view); void initialize(final CardsGridComponent grid,
                           final CardComponent card); HTMLElement getElement(); void refreshView(); void enableEditMode(); void enableReadOnlyMode(); View getView(); }
CardFrameComponent { public HTMLElement getElement() { return getView().getElement(); } @Inject  CardFrameComponent(final View view); void initialize(final CardsGridComponent grid,
                           final CardComponent card); HTMLElement getElement(); void refreshView(); void enableEditMode(); void enableReadOnlyMode(); View getView();  }