Exemplo n.º 1
0
        public void ReturnCorrectMessage_WithCorrectProperties()
        {
            // Arrange
            var mockStaff = new Mock <IStaff>();
            var mockKnife = new Mock <IKnife>();
            var mage      = new Mage(mockStaff.Object, mockKnife.Object);
            var expected  = $"Special Attack: CastSpell, Mana: {mage.SpecialEnergy}, Intelligence: {mage.Intelligence}";

            // Act & Assert
            Assert.AreEqual(expected, mage.Additionalinfo());
        }