tests for AnimationPlayer finished state

tests for AnimationPlayer finished state