### Question:
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();  }### Answer:
@Test public void testDestroy() { tested.init(); tested.destroy(); verify(proxy, times(1)).destroy(); }