### Question:
CreateNodeToolboxAction extends AbstractToolboxAction implements IsToolboxActionDraggable<AbstractCanvasHandler> { @Override @SuppressWarnings("unchecked") public ToolboxAction<AbstractCanvasHandler> onMoveStart(final AbstractCanvasHandler canvasHandler, final String uuid, final MouseMoveEvent event) { final Node<View<?>, Edge> sourceNode = getSourceNode(canvasHandler, uuid); final Edge<ViewConnector<?>, Node> connector = buildEdge(); final Node<View<?>, Edge> targetNode = buildTargetNode(); nodeProxy .setTargetNode(targetNode) .setEdge(connector) .setSourceNode(sourceNode) .setCanvasHandler(canvasHandler) .start(event); return this; } @Inject  CreateNodeToolboxAction(final @Any ManagedInstance<GeneralCreateNodeAction> createNodeActions,
                                   final DefinitionUtils definitionUtils,
                                   final ClientTranslationService translationService,
                                   final ClientFactoryManager clientFactoryManager,
                                   final NodeProxy nodeProxy); String getNodeId(); CreateNodeToolboxAction setNodeId(final String nodeId); CreateNodeToolboxAction setEdgeId(final String edgeId); @Override @SuppressWarnings("unchecked") ToolboxAction<AbstractCanvasHandler> onMouseClick(final AbstractCanvasHandler canvasHandler,
                                                             final String uuid,
                                                             final MouseClickEvent event); @Override @SuppressWarnings("unchecked") ToolboxAction<AbstractCanvasHandler> onMoveStart(final AbstractCanvasHandler canvasHandler,
                                                            final String uuid,
                                                            final MouseMoveEvent event); @PreDestroy void destroy(); @Override int hashCode(); @Override boolean equals(final Object o);  }### Answer:
@Test public void testOnMoveStart() { final MouseMoveEvent event = mock(MouseMoveEvent.class); when(event.getX()).thenReturn(100d); when(event.getY()).thenReturn(500d); tested.onMoveStart(canvasHandler, NODE_UUID, event); verify(nodeProxy, times(1)).setCanvasHandler(eq(canvasHandler)); verify(nodeProxy, times(1)).setSourceNode(eq(element)); verify(nodeProxy, times(1)).setEdge(eq(edge)); verify(nodeProxy, times(1)).setTargetNode(eq(targetNode)); verify(nodeProxy, times(1)).start(eq(event)); }