public void MobNotifiesWhenItGetsBuff() { var mob = new Mob(mobLoggerMock.Object, databasePreloader.Object, Wolf.Id, true, new MoveArea(0, 0, 0, 0, 0, 0), testMap); ActiveBuff buff = null; mob.OnBuffAdded += (IKillable sender, ActiveBuff newBuff) => { buff = newBuff; }; mob.AddActiveBuff(new Skill(MagicRoots_Lvl1, 0, 0), null); Assert.Single(mob.ActiveBuffs); Assert.NotNull(buff); }