| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | public function testGetCombatEffects(): void |
||
| 17 | { |
||
| 18 | $pet = new Pet([ |
||
| 19 | "id" => 1, "deployed" => false, "bonusStat" => Character::STAT_STRENGTH, "bonusValue" => 10, |
||
| 20 | ]); |
||
| 21 | Assert::count(0, $pet->getCombatEffects()); |
||
| 22 | $pet->deployed = true; |
||
| 23 | Assert::count(1, $pet->getCombatEffects()); |
||
| 24 | } |
||
| 29 |