@Test public void testGetElement() { final HTMLElement expectedElement = mock(HTMLElement.class); when(view.getElement()).thenReturn(expectedElement); final HTMLElement actualElement = dndListComponent.getElement(); assertEquals(expectedElement, actualElement); }
public HTMLElement getElement() { return view.getElement(); }
DNDListComponent { public HTMLElement getElement() { return view.getElement(); } }
DNDListComponent { public HTMLElement getElement() { return view.getElement(); } @Inject  DNDListComponent(final View view,
                            final DataTypeList dataTypeList); }
DNDListComponent { public HTMLElement getElement() { return view.getElement(); } @Inject  DNDListComponent(final View view,
                            final DataTypeList dataTypeList); void refreshItemsPosition(); void refreshItemsCSSAndHTMLPosition(); HTMLElement registerNewItem(final HTMLElement htmlElement); HTMLElement getElement(); HTMLElement getDragArea(); void consolidateYPosition(); Optional<HTMLElement> getPreviousElement(final Element reference); void clear(); void setPositionX(final Element element,
                             final double positionX); void setPositionY(final Element element,
                             final double positionY); int getPositionY(final Element element); void setOnDropItem(final BiConsumer<Element, Element> onDropItem); void refreshDragAreaSize(); void setInitialPositionY(final HTMLElement dragAndDropElement,
                                    final List<HTMLElement> children); void setInitialHiddenPositionY(final HTMLElement itemElement); void highlightLevel(final HTMLElement htmlElement); }
DNDListComponent { public HTMLElement getElement() { return view.getElement(); } @Inject  DNDListComponent(final View view,
                            final DataTypeList dataTypeList); void refreshItemsPosition(); void refreshItemsCSSAndHTMLPosition(); HTMLElement registerNewItem(final HTMLElement htmlElement); HTMLElement getElement(); HTMLElement getDragArea(); void consolidateYPosition(); Optional<HTMLElement> getPreviousElement(final Element reference); void clear(); void setPositionX(final Element element,
                             final double positionX); void setPositionY(final Element element,
                             final double positionY); int getPositionY(final Element element); void setOnDropItem(final BiConsumer<Element, Element> onDropItem); void refreshDragAreaSize(); void setInitialPositionY(final HTMLElement dragAndDropElement,
                                    final List<HTMLElement> children); void setInitialHiddenPositionY(final HTMLElement itemElement); void highlightLevel(final HTMLElement htmlElement);  }