@Test public void testInit() { tested.init(); verify(proxy, times(1)).setView(eq(view)); verify(proxy, times(1)).setProxyBuilder(any()); }
@PostConstruct public void init() { proxy .setView(view) .setProxyBuilder(this::onCreateProxy); }
NodeProxy implements ShapeProxy { @PostConstruct public void init() { proxy .setView(view) .setProxyBuilder(this::onCreateProxy); } }
NodeProxy implements ShapeProxy { @PostConstruct public void init() { proxy .setView(view) .setProxyBuilder(this::onCreateProxy); } @Inject  NodeProxy(final ElementProxy proxy,
                     final ShapeProxyView<NodeShape> view); }
NodeProxy implements ShapeProxy { @PostConstruct public void init() { proxy .setView(view) .setProxyBuilder(this::onCreateProxy); } @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 { @PostConstruct public void init() { proxy .setView(view) .setProxyBuilder(this::onCreateProxy); } @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();  }