### Question:
SVGChildViewHandler { @SuppressWarnings("unchecked") public void addSVGChild(final SVGContainer parent, final SVGBasicShapeView child) { if (!hasSvgChild(child)) { svgChildren.add(child); parent.addPrimitive((IPrimitive<?>) child.getContainer()); } } SVGChildViewHandler(final WiresShapeView<?> view); @SuppressWarnings("unchecked") void addChild(final SVGPrimitive<?> child); @SuppressWarnings("unchecked") void addSVGChild(final SVGContainer parent,
                            final SVGBasicShapeView child); void clear(); Collection<SVGPrimitive<?>> getChildren(); Collection<SVGBasicShapeView> getSVGChildren();  }### Answer:
@Test public void testAddSVGChild() { tested.addSVGChild(parentShape, svgChild); assertEquals(svgGroup, parentShape.getPrimitive("svgGroup1")); assertEquals(1, tested.getSVGChildren().size()); assertEquals(svgChild, tested.getSVGChildren().iterator().next()); }