@Test public void testNewViewInstance() throws Exception { tested.newViewInstance(factory, new UserTask()); verify(factory, times(1)).task(); }
@Override public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final UserTask obj) { return newViewInstance(Optional.empty(), Optional.empty(), factory.task()); }
CaseManagementSvgUserTaskShapeDef extends BaseDimensionedShapeDef implements CaseManagementSvgShapeDef<UserTask> { @Override public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final UserTask obj) { return newViewInstance(Optional.empty(), Optional.empty(), factory.task()); } }
CaseManagementSvgUserTaskShapeDef extends BaseDimensionedShapeDef implements CaseManagementSvgShapeDef<UserTask> { @Override public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final UserTask obj) { return newViewInstance(Optional.empty(), Optional.empty(), factory.task()); }  }
CaseManagementSvgUserTaskShapeDef extends BaseDimensionedShapeDef implements CaseManagementSvgShapeDef<UserTask> { @Override public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final UserTask obj) { return newViewInstance(Optional.empty(), Optional.empty(), factory.task()); }  @Override SizeHandler<UserTask, SVGShapeView> newSizeHandler(); @Override @SuppressWarnings("unchecked") BiConsumer<UserTask, SVGShapeView> viewHandler(); @Override SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final UserTask obj); @Override FontHandler<UserTask, SVGShapeView> newFontHandler(); @Override Glyph getGlyph(final Class<? extends UserTask> type,
                          final String defId); }
CaseManagementSvgUserTaskShapeDef extends BaseDimensionedShapeDef implements CaseManagementSvgShapeDef<UserTask> { @Override public SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final UserTask obj) { return newViewInstance(Optional.empty(), Optional.empty(), factory.task()); }  @Override SizeHandler<UserTask, SVGShapeView> newSizeHandler(); @Override @SuppressWarnings("unchecked") BiConsumer<UserTask, SVGShapeView> viewHandler(); @Override SVGShapeView<?> newViewInstance(final CaseManagementSVGViewFactory factory, final UserTask obj); @Override FontHandler<UserTask, SVGShapeView> newFontHandler(); @Override Glyph getGlyph(final Class<? extends UserTask> type,
                          final String defId);  }