@Test public void newShapeHandler() { tested.newShapeHandler(shape, highlight, wiresManager); verify(delegate).newShapeHandler(shape, highlight, wiresManager); }
@Override public WiresShapeHandler newShapeHandler(final WiresShape shape, final WiresShapeHighlight<PickerPart.ShapePart> highlight, final WiresManager wiresManager) { return delegate.newShapeHandler(shape, highlight, wiresManager); }
StunnerWiresHandlerFactory implements WiresHandlerFactory { @Override public WiresShapeHandler newShapeHandler(final WiresShape shape, final WiresShapeHighlight<PickerPart.ShapePart> highlight, final WiresManager wiresManager) { return delegate.newShapeHandler(shape, highlight, wiresManager); } }
StunnerWiresHandlerFactory implements WiresHandlerFactory { @Override public WiresShapeHandler newShapeHandler(final WiresShape shape, final WiresShapeHighlight<PickerPart.ShapePart> highlight, final WiresManager wiresManager) { return delegate.newShapeHandler(shape, highlight, wiresManager); } StunnerWiresHandlerFactory();   StunnerWiresHandlerFactory(WiresHandlerFactory delegate); }
StunnerWiresHandlerFactory implements WiresHandlerFactory { @Override public WiresShapeHandler newShapeHandler(final WiresShape shape, final WiresShapeHighlight<PickerPart.ShapePart> highlight, final WiresManager wiresManager) { return delegate.newShapeHandler(shape, highlight, wiresManager); } StunnerWiresHandlerFactory();   StunnerWiresHandlerFactory(WiresHandlerFactory delegate); @Override WiresConnectorHandler newConnectorHandler(final WiresConnector wiresConnector,
                                                     final WiresManager wiresManager); @Override WiresControlPointHandler newControlPointHandler(final WiresConnector wiresConnector,
                                                           final WiresManager wiresManager); @Override WiresShapeHandler newShapeHandler(final WiresShape shape,
                                             final WiresShapeHighlight<PickerPart.ShapePart> highlight,
                                             final WiresManager wiresManager); }
StunnerWiresHandlerFactory implements WiresHandlerFactory { @Override public WiresShapeHandler newShapeHandler(final WiresShape shape, final WiresShapeHighlight<PickerPart.ShapePart> highlight, final WiresManager wiresManager) { return delegate.newShapeHandler(shape, highlight, wiresManager); } StunnerWiresHandlerFactory();   StunnerWiresHandlerFactory(WiresHandlerFactory delegate); @Override WiresConnectorHandler newConnectorHandler(final WiresConnector wiresConnector,
                                                     final WiresManager wiresManager); @Override WiresControlPointHandler newControlPointHandler(final WiresConnector wiresConnector,
                                                           final WiresManager wiresManager); @Override WiresShapeHandler newShapeHandler(final WiresShape shape,
                                             final WiresShapeHighlight<PickerPart.ShapePart> highlight,
                                             final WiresManager wiresManager);  }