ActManipulator { public void resetTransition(String key) { animationTracker.reset(key); } ActManipulator(AnimationTracker animationTracker, DurationCalculator durationCalculator, ViscosityInterpolatorMap viscosityCollection); void manipulate(String key, Act act); void resetTransition(String key);  }
@Test public void whenResetTransitionIsCalledThenWeDelegateToTheAnimationTracker() throws Exception { ActManipulator manipulator = new ActManipulator(mockAnimationTracker, null, null); String expectedKey = "ExpectedKey"; manipulator.resetTransition(expectedKey); verify(mockAnimationTracker).reset(expectedKey); }