### Question:
ShapeImpl extends AbstractShape<V> { @Override public void afterDraw() { if (view instanceof HasTitle) { ((HasTitle) view).moveTitleToTop(); } } ShapeImpl(final V view,
                     final ShapeStateHandler shapeStateHandler); void setUUID(final String uuid); @Override String getUUID(); @Override void beforeDraw(); @Override void afterDraw(); @Override void applyState(final ShapeState shapeState); ShapeStateHandler getShapeStateHandler(); @Override V getShapeView(); @Override boolean equals(final Object o); @Override int hashCode();  }### Answer:
@Test public void testAfterDraw() { tested.afterDraw(); verify(view, times(1)).moveTitleToTop(); }