### Question:
CaseManagementSVGViewBuilder implements SVGShapeViewBuilder { @Override public SVGShapeView build(final String name, final SVGPrimitiveShape primitiveShape, final double width, final double height, final boolean resizable) { switch (name) { case "stage": return new CaseManagementStageShapeView(name, primitiveShape, width, height, false); case "rectangle": return new CaseManagementDiagramShapeView(name, primitiveShape, width, height, false); default: return new CaseManagementShapeView(name, primitiveShape, width, height, false); } }  @Override SVGShapeView build(final String name,
                              final SVGPrimitiveShape primitiveShape,
                              final double width,
                              final double height,
                              final boolean resizable);  }### Answer:
@Test public void testBuild_rectangle() throws Exception { final SVGShapeView shapeView = tested.build("rectangle", new SVGPrimitiveShape(new Rectangle(0d, 0d)), 10d, 10d, false); assertTrue(shapeView instanceof CaseManagementDiagramShapeView); }
@Test public void testBuild_stage() throws Exception { final SVGShapeView shapeView = tested.build("stage", new SVGPrimitiveShape(new Rectangle(0d, 0d)), 10d, 10d, false); assertTrue(shapeView instanceof CaseManagementStageShapeView); }
@Test public void testBuild_subcase() throws Exception { final SVGShapeView shapeView = tested.build("subcase", new SVGPrimitiveShape(new Rectangle(0d, 0d)), 10d, 10d, false); assertTrue(shapeView instanceof CaseManagementShapeView); }
@Test public void testBuild_subprocess() throws Exception { final SVGShapeView shapeView = tested.build("subprocess", new SVGPrimitiveShape(new Rectangle(0d, 0d)), 10d, 10d, false); assertTrue(shapeView instanceof CaseManagementShapeView); }
@Test public void testBuild_task() throws Exception { final SVGShapeView shapeView = tested.build("task", new SVGPrimitiveShape(new Rectangle(0d, 0d)), 10d, 10d, false); assertTrue(shapeView instanceof CaseManagementShapeView); }