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