/** @test */ function it_is_dead_when_zero_or_less_hitpoints() { $this->unit->loseHitpoints(100); $this->assertTrue($this->unit->isDead()); }