### Question:
ValueAndDataTypePopoverViewImpl extends AbstractPopoverViewImpl implements ValueAndDataTypePopoverView { @Override protected void setKeyDownListeners() { super.setKeyDownListeners(); final Element manageButton = getManageButton(); manageButton.addEventListener(BrowserEvents.KEYDOWN, getManageButtonKeyDownEventListener(), false); final Element typeSelectorButton = getTypeSelectorButton(); typeSelectorButton.addEventListener(BrowserEvents.KEYDOWN, getTypeSelectorKeyDownEventListener(), false); } ValueAndDataTypePopoverViewImpl(); @Inject  ValueAndDataTypePopoverViewImpl(final Input valueEditor,
                                           final DataTypePickerWidget typeRefEditor,
                                           final Div popoverElement,
                                           final Div popoverContentElement,
                                           final Span valueLabel,
                                           final Span dataTypeLabel,
                                           final JQueryProducer.JQuery<Popover> jQueryPopover,
                                           final TranslationService translationService); @Override void init(final Presenter presenter); String getCurrentValue(); QName getCurrentTypeRef(); @Override void setDMNModel(final DMNModelInstrumentedBase dmnModel); @Override void initValue(final String value); @Override void initSelectedTypeRef(final QName typeRef); @Override void show(final Optional<String> popoverTitle); @Override void hide(); void hide(final boolean applyChanges); @Override void reset(); @SuppressWarnings("unused") @EventHandler("valueEditor") void onValueEditorKeyDown(final KeyDownEvent event);  }### Answer:
@Test public void testSetKeyDownListeners() { reset(manageButton, typeSelectorButton); view.setKeyDownListeners(); verify(popoverElement).addEventListener(BrowserEvents.KEYDOWN, keyDownCallback, false); verify(manageButton).addEventListener(BrowserEvents.KEYDOWN, managerCallback, false); verify(typeSelectorButton).addEventListener(BrowserEvents.KEYDOWN, eventListenerCallback, false); }