### Question:
SVGShapeViewImpl extends DecoratedShapeView<SVGShapeViewImpl> implements SVGShapeView<SVGShapeViewImpl> { @Override public SVGShapeViewImpl addChild(final SVGPrimitive<?> child) { childViewHandler.addChild(child); return this; } @SuppressWarnings("unchecked")  SVGShapeViewImpl(final String name,
                            final SVGPrimitiveShape svgPrimitive,
                            final double width,
                            final double height,
                            final boolean resizable); @Override String getName(); @Override SVGPrimitive getPrimitive(); @Override SVGShapeViewImpl addChild(final SVGPrimitive<?> child); @Override SVGShapeViewImpl addSVGChild(final SVGContainer parent,
                                        final SVGBasicShapeView child); @Override void destroy(); @Override Collection<SVGPrimitive<?>> getChildren(); @Override Collection<SVGBasicShapeView> getSVGChildren(); ShapeStateDefaultHandler getShapeStateHandler(); @Override void applyState(final ShapeState shapeState);  }### Answer:
@Test public void testAddChild() { tested.addChild(childShape); final Collection<SVGPrimitive<?>> svgChildren = tested.getChildren(); assertEquals(1, svgChildren.size()); assertEquals(childShape, svgChildren.iterator().next()); }