### Question:
DMNDecisionServiceShapeFactory implements ShapeDefFactory<DecisionService, DMNDecisionServiceSVGShapeDef, DMNDecisionServiceSVGMutableShapeImpl> { @Override public DMNDecisionServiceSVGMutableShapeImpl newShape(final DecisionService instance, final DMNDecisionServiceSVGShapeDef shapeDef) { final SVGShapeView view = shapeDef.newViewInstance(dmnViewFactory, instance); return new DMNDecisionServiceSVGMutableShapeImpl(shapeDef, (SVGShapeViewImpl) view); } protected  DMNDecisionServiceShapeFactory(); @Inject  DMNDecisionServiceShapeFactory(final DMNDecisionServiceSVGViewFactory dmnViewFactory); @Override DMNDecisionServiceSVGMutableShapeImpl newShape(final DecisionService instance,
                                                          final DMNDecisionServiceSVGShapeDef shapeDef);  }### Answer:
@Test public void testNewShape() { assertThat(shapeFactory.newShape(instance, shapeDef)).isInstanceOf(DMNDecisionServiceSVGMutableShapeImpl.class); }