> How would you unit test an enemy that spawns, moves towards the player, and attacks?
You use a second enemy that spawns, moves towards the "enemy", and attacks.