### Question:
ShapeStateAttributeAnimationHandler implements ShapeStateHandler { @Override public ShapeState reset() { if (null != animationHandle) { animationHandle.stop(); setAnimationHandle(null); } return handler.reset(); } ShapeStateAttributeAnimationHandler(); ShapeStateAttributeHandler<V> getAttributesHandler(); ShapeStateAttributeAnimationHandler<V> onComplete(final Command completeCallback); @Override void applyState(final ShapeState shapeState); @Override ShapeStateAttributeAnimationHandler<V> shapeAttributesChanged(); @Override ShapeState reset(); @Override ShapeState getShapeState();  }### Answer:
@Test public void testReset() { tested.setAnimationHandle(animationHandle); tested.reset(); verify(shape, never()).animate(any(AnimationTweener.class), any(AnimationProperties.class), anyDouble(), any(AnimationCallback.class)); verify(animationHandle, times(1)).stop(); assertEquals(ShapeState.NONE, tested.getShapeState()); }