### Question:
SVGShapeImpl implements SVGShape<SVGShapeViewImpl> { @Override public void beforeDraw() { shape.beforeDraw(); } @SuppressWarnings("unchecked")  SVGShapeImpl(final SVGShapeViewImpl view); @SuppressWarnings("unchecked")  SVGShapeImpl(final SVGShapeViewImpl view,
                 final LienzoShape<LienzoShapeView> shape); @Override void setUUID(final String uuid); @Override String getUUID(); @Override void beforeDraw(); @Override void afterDraw(); @Override void applyState(final ShapeState shapeState); @Override SVGShapeViewImpl getShapeView();  }### Answer:
@Test public void testBeforeDraw() { mocked.beforeDraw(); verify(lienzoShape, times(1)).beforeDraw(); verify(lienzoShape, times(0)).afterDraw(); verify(lienzoShape, times(0)).applyState(any(ShapeState.class)); }