### Question:
DMNEditDRDToolboxAction implements ToolboxAction<AbstractCanvasHandler> { @Override public String getTitle(final AbstractCanvasHandler canvasHandler, final String uuid) { return drdContextMenu.getTitle(); } @Inject  DMNEditDRDToolboxAction(final DRDContextMenu drdContextMenu); @Override Glyph getGlyph(final AbstractCanvasHandler canvasHandler, final String uuid); @Override String getTitle(final AbstractCanvasHandler canvasHandler, final String uuid); @Override ToolboxAction<AbstractCanvasHandler> onMouseClick(final AbstractCanvasHandler canvasHandler, final String uuid, final MouseClickEvent event);  }### Answer:
@Test public void testGetTitle() { final String title = "TITLE"; when(drdContextMenu.getTitle()).thenReturn(title); assertThat(dmnEditDRDToolboxAction.getTitle(canvasHandler, UUID)).isEqualTo(title); }