public void MessageDisplayed_OnFighterFullyHealed() { //arrange _humanPlayer1.SetHealth(100, 1); _humanPlayer1.SetMove(_doNothingMove); _humanPlayer2.SetMove(_doNothingMove); _humanTeam.SetDeathsOnRoundEndEvent(); _enemyPlayer1.SetMove(_doNothingMove); _enemyPlayer2.SetMove(_doNothingMove); _humanPlayer1.TurnEnded += delegate { _humanPlayer1.FullyHeal(); }; //Act _battleManager.Battle(_humanTeam, _enemyTeam); //Assert MockOutputMessage[] outputs = _output.GetOutputs(); string expectedMessage = $"{_humanPlayer1.DisplayName}'s HP was fully restored!\n"; MockOutputMessage output = outputs.FirstOrDefault(o => o.Message == expectedMessage); Assert.NotNull(output); }