Ejemplo n.º 1
0
  @Test
  public void removesAnimationTargetOnCleanup(@Mocked Effect mockedBase) {
    Rotate rotate = new Rotate(10, 200, 100);

    rotate.init(animator, null);
    rotate.cleanup(animator);

    new Verifications() {
      {
        animator.removeTarget((TimingTarget) withNotNull());
      }
    };
  }