### Question:
DeleteNodeToolboxAction implements ToolboxAction<AbstractCanvasHandler> { @Override public String getTitle(final AbstractCanvasHandler canvasHandler, final String uuid) { return translationService.getValue(CoreTranslationMessages.DELETE); } @Inject  DeleteNodeToolboxAction(final ClientTranslationService translationService,
                                   final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                   final @Any ManagedInstance<DefaultCanvasCommandFactory> commandFactories,
                                   final DefinitionUtils definitionUtils,
                                   final Event<CanvasClearSelectionEvent> clearSelectionEvent);   DeleteNodeToolboxAction(final ClientTranslationService translationService,
                            final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                            final ManagedInstance<DefaultCanvasCommandFactory> commandFactories,
                            final DefinitionUtils definitionUtils,
                            final Predicate<DeleteNodeToolboxAction> confirmDelete,
                            final Event<CanvasClearSelectionEvent> clearSelectionEvent); @Override Glyph getGlyph(final AbstractCanvasHandler canvasHandler,
                          final String uuid); @Override String getTitle(final AbstractCanvasHandler canvasHandler,
                           final String uuid); @Override @SuppressWarnings("unchecked") ToolboxAction<AbstractCanvasHandler> onMouseClick(final AbstractCanvasHandler canvasHandler,
                                                             final String uuid,
                                                             final MouseClickEvent event); @PreDestroy void destroy();  }### Answer:
@Test public void testTitle() { tested.getTitle(canvasHandler, E_UUID); verify(translationService, times(1)).getValue(eq(CoreTranslationMessages.DELETE)); }