@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); }
ConnectorProxy implements ShapeProxy { @PostConstruct public void init() { proxy .setView(view) .setProxyBuilder(this::onCreateProxy); } }
ConnectorProxy implements ShapeProxy { @PostConstruct public void init() { proxy .setView(view) .setProxyBuilder(this::onCreateProxy); } @Inject  ConnectorProxy(final ElementProxy proxy,
                          final ShapeProxyView<EdgeShape> view); }
ConnectorProxy implements ShapeProxy { @PostConstruct public void init() { proxy .setView(view) .setProxyBuilder(this::onCreateProxy); } @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 { @PostConstruct public void init() { proxy .setView(view) .setProxyBuilder(this::onCreateProxy); } @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();  }