@Test public void testGetGlyphWithConsumer() { factory.getGlyph(DEFINITION_ID, ShapeFactory.GlyphConsumer.class); verify(delegateShapeFactory).getGlyph(DEFINITION_ID, ShapeFactory.GlyphConsumer.class); }
@Override public Glyph getGlyph(final String definitionId) { return delegateShapeFactory.getGlyph(definitionId); }
DMNShapeFactory implements ShapeFactory<DMNDefinition, Shape> { @Override public Glyph getGlyph(final String definitionId) { return delegateShapeFactory.getGlyph(definitionId); } }
DMNShapeFactory implements ShapeFactory<DMNDefinition, Shape> { @Override public Glyph getGlyph(final String definitionId) { return delegateShapeFactory.getGlyph(definitionId); } @Inject  DMNShapeFactory(final SVGShapeFactory svgShapeFactory,
                           final DMNConnectorShapeFactory dmnConnectorShapeFactory,
                           final DMNDecisionServiceShapeFactory dmnDecisionServiceShapeFactory,
                           final DelegateShapeFactory<DMNDefinition, Shape> delegateShapeFactory); }
DMNShapeFactory implements ShapeFactory<DMNDefinition, Shape> { @Override public Glyph getGlyph(final String definitionId) { return delegateShapeFactory.getGlyph(definitionId); } @Inject  DMNShapeFactory(final SVGShapeFactory svgShapeFactory,
                           final DMNConnectorShapeFactory dmnConnectorShapeFactory,
                           final DMNDecisionServiceShapeFactory dmnDecisionServiceShapeFactory,
                           final DelegateShapeFactory<DMNDefinition, Shape> delegateShapeFactory); @PostConstruct void init(); @Override Shape newShape(final DMNDefinition definition); @Override Glyph getGlyph(final String definitionId); @Override Glyph getGlyph(final String definitionId,
                          final Class<? extends GlyphConsumer> consumer); }
DMNShapeFactory implements ShapeFactory<DMNDefinition, Shape> { @Override public Glyph getGlyph(final String definitionId) { return delegateShapeFactory.getGlyph(definitionId); } @Inject  DMNShapeFactory(final SVGShapeFactory svgShapeFactory,
                           final DMNConnectorShapeFactory dmnConnectorShapeFactory,
                           final DMNDecisionServiceShapeFactory dmnDecisionServiceShapeFactory,
                           final DelegateShapeFactory<DMNDefinition, Shape> delegateShapeFactory); @PostConstruct void init(); @Override Shape newShape(final DMNDefinition definition); @Override Glyph getGlyph(final String definitionId); @Override Glyph getGlyph(final String definitionId,
                          final Class<? extends GlyphConsumer> consumer);  }