public void OnSpellSuccessfulMethod_AppropriatelyFiresSpellSuccessfullEvent() { _fighter.OnSpellSuccessful(new SpellSuccessfulEventArgs(_enemy, _fireballSpell, 10)); var logs = _logger.Logs; Assert.AreEqual(1, logs.Count); Assert.AreEqual(EventType.SpellSuccessful, logs[0].Type); Assert.AreEqual(_fighter, logs[0].Sender); var e = logs[0].E as SpellSuccessfulEventArgs; Assert.NotNull(e); Assert.AreEqual(_enemy, e.TargettedFoe); Assert.AreEqual(10, e.DamageDealt); Assert.AreEqual(_fireballSpell, e.Spell); }