@Test public void testNewViewInstance() throws Exception { tested.newViewInstance(factory, new AdHocSubprocess()); verify(factory, times(1)).stage(); }
@Override public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final AdHocSubprocess bean) { return newViewInstance(Optional.empty(), Optional.empty(), factory.stage()); }
CaseManagementSvgStageShapeDef extends BaseDimensionedShapeDef implements CaseManagementSvgShapeDef<AdHocSubprocess> { @Override public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final AdHocSubprocess bean) { return newViewInstance(Optional.empty(), Optional.empty(), factory.stage()); } }
CaseManagementSvgStageShapeDef extends BaseDimensionedShapeDef implements CaseManagementSvgShapeDef<AdHocSubprocess> { @Override public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final AdHocSubprocess bean) { return newViewInstance(Optional.empty(), Optional.empty(), factory.stage()); }  }
CaseManagementSvgStageShapeDef extends BaseDimensionedShapeDef implements CaseManagementSvgShapeDef<AdHocSubprocess> { @Override public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final AdHocSubprocess bean) { return newViewInstance(Optional.empty(), Optional.empty(), factory.stage()); }  @Override SizeHandler<AdHocSubprocess, SVGShapeView> newSizeHandler(); @Override SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final AdHocSubprocess bean); @Override Glyph getGlyph(final Class<? extends AdHocSubprocess> type,
                          final String defId); }
CaseManagementSvgStageShapeDef extends BaseDimensionedShapeDef implements CaseManagementSvgShapeDef<AdHocSubprocess> { @Override public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final AdHocSubprocess bean) { return newViewInstance(Optional.empty(), Optional.empty(), factory.stage()); }  @Override SizeHandler<AdHocSubprocess, SVGShapeView> newSizeHandler(); @Override SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final AdHocSubprocess bean); @Override Glyph getGlyph(final Class<? extends AdHocSubprocess> type,
                          final String defId);  }