BaseDTDOMElement extends BaseDOMElement<T, W> { @Override protected void setupDelegatingMouseUpHandler() { } BaseDTDOMElement(final W widget,
                            final GridLayer gridLayer,
                            final GridWidget gridWidget);   }
@Test @SuppressWarnings("unchecked") public void setupDelegatingMouseUpHandlerDoesNotAttachHandler() { element.setupDelegatingMouseUpHandler(); verify(widgetContainer, never()).addDomHandler(any(EventHandler.class), any(DomEvent.Type.class)); }