   equals animation.I.currentFrameIndex, 0, "Should be on the first frame of Idle2"
 
 test "should be able to force transition to new state", ->
-  animation = GameObject
-    data: animationData
-    includedModules: ["Animated"]
-
   animation.update()
 
   animation.transition("Idle2", true)


test "should fire frame specific event on the proper frame", ->
  whiteParticlesFired = blueParticlesFired = greenParticlesFired = chompSoundFired = false

  animation = GameObject
    data: animationData
    includedModules: ["Animated"]

  animation.bind "whiteParticles", ->
    whiteParticlesFired = true

  animation.update()
  animation.update()

  equal animation.I.currentFrameIndex, 4 + 1
  ok blueParticlesFired, "Blue particle effect fired"
  ok greenParticlesFired, "Green particle effect fired"
