public void AddSpell(Item Spell) { int expectedWizardAttack = 20; int expectedWizardDefense = 5; Wizard wizardWithBook = new Wizard(100, "TheBook'sWizard"); Item spell1 = new Item("spell1", 20, 5); wizardWithBook.AddSpell(spell1); Assert.AreEqual(expectedWizardAttack, wizardWithBook.GetCharacterAttack()); Assert.AreEqual(expectedWizardDefense, wizardWithBook.GetCharacterDefense()); }