### Question:
DRDNameChangerView implements DRDNameChanger { @EventHandler("returnToDRG") void onClickReturnToDRG(final ClickEvent event) { hideDRDNameChanger(); selectedEvent.fire(new DMNDiagramSelected(dmnDiagramsSession.getDRGDiagramElement())); } @Inject  DRDNameChangerView(final DMNDiagramsSession dmnDiagramsSession, final Event<DMNDiagramSelected> selectedEvent, final DivElement viewMode, final DivElement editMode, final HTMLAnchorElement returnToDRG, final Span drdName, final InputElement drdNameInput); @Override void setSessionPresenterView(SessionPresenter.View sessionPresenterView); @Override void showDRDNameChanger(); @Override void hideDRDNameChanger();  }### Answer:
@Test public void testOnClickReturnToDRG() { drdNameChangerView.onClickReturnToDRG(clickEvent); verify(selectedEvent, times(1)).fire(any(DMNDiagramSelected.class)); }