ListBoxSingletonDOMElementFactory extends MultiValueSingletonDOMElementFactory<T, W, ListBoxDOMElement<T, W>> { @Override protected ListBoxDOMElement<T, W> createDomElementInternal(final W widget, final GridLayer gridLayer, final GridWidget gridWidget) { return new ListBoxDOMElement<>(widget, gridLayer, gridWidget, widget.isMultipleSelect()); } ListBoxSingletonDOMElementFactory(final GridLienzoPanel gridPanel,
                                             final GridLayer gridLayer,
                                             final GuidedDecisionTableView gridWidget);   }
@Test public void checkDOMElementCreation() { factory.createDomElement(gridLayer, gridWidget); verify(factory).createDomElementInternal(listBox, gridLayer, gridWidget); }
@Test public void checkDOMElementInternalCreation() { factory.createDomElementInternal(listBox, gridLayer, gridWidget); verify(listBox).isMultipleSelect(); }