@Test public void testUseWiresManager() { WiresManager wiresManager = mock(WiresManager.class); tested.use(wiresManager); verify(wiresLayer, times(1)).use(eq(wiresManager)); }
public void use(final WiresManager wiresManager) { layer.use(wiresManager); }
WiresCanvasView extends LienzoCanvasView<WiresLayer> { public void use(final WiresManager wiresManager) { layer.use(wiresManager); } }
WiresCanvasView extends LienzoCanvasView<WiresLayer> { public void use(final WiresManager wiresManager) { layer.use(wiresManager); } @Inject  WiresCanvasView(final WiresLayer layer); }
WiresCanvasView extends LienzoCanvasView<WiresLayer> { public void use(final WiresManager wiresManager) { layer.use(wiresManager); } @Inject  WiresCanvasView(final WiresLayer layer); void use(final WiresManager wiresManager); @Override LienzoCanvasView<WiresLayer> add(final ShapeView<?> shape); LienzoCanvasView addRoot(final ShapeView<?> shape); @Override LienzoCanvasView<WiresLayer> delete(final ShapeView<?> shape); LienzoCanvasView deleteRoot(final ShapeView<?> shape); @Override LienzoCanvasView addChild(final ShapeView<?> parent,
                                     final ShapeView<?> child); @Override LienzoCanvasView deleteChild(final ShapeView<?> parent,
                                        final ShapeView<?> child); @Override LienzoCanvasView dock(final ShapeView<?> parent,
                                 final ShapeView<?> child); @Override LienzoCanvasView undock(final ShapeView<?> childParent,
                                   final ShapeView<?> child); @Override WiresLayer getLayer(); }
WiresCanvasView extends LienzoCanvasView<WiresLayer> { public void use(final WiresManager wiresManager) { layer.use(wiresManager); } @Inject  WiresCanvasView(final WiresLayer layer); void use(final WiresManager wiresManager); @Override LienzoCanvasView<WiresLayer> add(final ShapeView<?> shape); LienzoCanvasView addRoot(final ShapeView<?> shape); @Override LienzoCanvasView<WiresLayer> delete(final ShapeView<?> shape); LienzoCanvasView deleteRoot(final ShapeView<?> shape); @Override LienzoCanvasView addChild(final ShapeView<?> parent,
                                     final ShapeView<?> child); @Override LienzoCanvasView deleteChild(final ShapeView<?> parent,
                                        final ShapeView<?> child); @Override LienzoCanvasView dock(final ShapeView<?> parent,
                                 final ShapeView<?> child); @Override LienzoCanvasView undock(final ShapeView<?> childParent,
                                   final ShapeView<?> child); @Override WiresLayer getLayer();  }