public void AddCorrectPermanentDeffenseBonus_WhenSkipCommandIsCalled() { var ang = new Angel(); var creatureInBattle = new CreaturesInBattle(ang, 1); creatureInBattle.Skip(); Assert.AreEqual(23, creatureInBattle.PermanentDefense); }
public void Skip_ShouldCallApplyOnSkipForEachSpecialty() { var mockedCreature = new MockedCreature(1, 1, 10, 1M); var creaturesInBattle = new CreaturesInBattle(mockedCreature, 1); creaturesInBattle.Skip(); foreach (var speciality in mockedCreature.Specialties) { speciality.Verify(x => x.ApplyOnSkip(It.IsAny <ICreaturesInBattle>()), Times.Once); } }