### Question:
DMNDecisionServiceSVGShapeDefImpl implements DMNDecisionServiceSVGShapeDef { @Override public Glyph getGlyph(final Class<? extends DecisionService> type, final Class<? extends ShapeFactory.GlyphConsumer> consumer, final String defId) { if (org.kie.workbench.common.stunner.core.client.components.palette.AbstractPalette.PaletteGlyphConsumer.class.equals(consumer)) { return GLYPHS_PALETTE.computeIfAbsent(type, (t) -> ShapeGlyph.create()); } return getGlyph(type, defId); }  @Override Class<DMNDecisionServiceSVGViewFactory> getViewFactoryType(); @Override SizeHandler<DecisionService, SVGShapeView> newSizeHandler(); @Override FontHandler<DecisionService, SVGShapeView> newFontHandler(); @Override SVGShapeView<?> newViewInstance(final DMNDecisionServiceSVGViewFactory factory,
                                           final DecisionService bean); @Override Glyph getGlyph(final Class<? extends DecisionService> type,
                          final Class<? extends ShapeFactory.GlyphConsumer> consumer,
                          final String defId); static final SVGShapeViewResources<DMNDefinition, DMNDecisionServiceSVGViewFactory> VIEW_RESOURCES; static final Map<Class<? extends DMNDefinition>, Glyph> GLYPHS_PALETTE; }### Answer:
@Test public void testGetToolboxGlyph() { assertThat(shapeDef.getGlyph(DecisionService.class, DEFINITION_ID)).isInstanceOf(ShapeGlyph.class); }
@Test public void testGetPaletteGlyphWithConsumer() { assertThat(shapeDef.getGlyph(DecisionService.class, PaletteGlyphConsumer.class, DEFINITION_ID)).isEqualTo(DMNSVGGlyphFactory.DECISION_SERVICE_PALETTE); }