@Test public void testDestroy() { tested.init(); tested.destroy(); verify(proxy, times(1)).destroy(); }
@Override public void destroy() { proxy.destroy(); targetNode = null; edge = null; sourceNode = null; }
NodeProxy implements ShapeProxy { @Override public void destroy() { proxy.destroy(); targetNode = null; edge = null; sourceNode = null; } }
NodeProxy implements ShapeProxy { @Override public void destroy() { proxy.destroy(); targetNode = null; edge = null; sourceNode = null; } @Inject  NodeProxy(final ElementProxy proxy,
                     final ShapeProxyView<NodeShape> view); }
NodeProxy implements ShapeProxy { @Override public void destroy() { proxy.destroy(); targetNode = null; edge = null; sourceNode = null; } @Inject  NodeProxy(final ElementProxy proxy,
                     final ShapeProxyView<NodeShape> view); @PostConstruct void init(); NodeProxy setCanvasHandler(final AbstractCanvasHandler canvasHandler); NodeProxy setTargetNode(Node<View<?>, Edge> targetNode); NodeProxy setEdge(Edge<ViewConnector<?>, Node> edge); NodeProxy setSourceNode(Node<View<?>, Edge> sourceNode); NodeProxy start(final AbstractMouseEvent event); @Override void start(final double x,
                      final double y); @Override void destroy(); }
NodeProxy implements ShapeProxy { @Override public void destroy() { proxy.destroy(); targetNode = null; edge = null; sourceNode = null; } @Inject  NodeProxy(final ElementProxy proxy,
                     final ShapeProxyView<NodeShape> view); @PostConstruct void init(); NodeProxy setCanvasHandler(final AbstractCanvasHandler canvasHandler); NodeProxy setTargetNode(Node<View<?>, Edge> targetNode); NodeProxy setEdge(Edge<ViewConnector<?>, Node> edge); NodeProxy setSourceNode(Node<View<?>, Edge> sourceNode); NodeProxy start(final AbstractMouseEvent event); @Override void start(final double x,
                      final double y); @Override void destroy();  }