Example #1
0
        public void GetSpellTitleTest()
        {
            spellRepo.AddSpell(spell);
            // retrieve enchantment view
            controller.Enchantment(spell.SpellID);
            // confirm enchantment retrieved
            Spell s = spellRepo.GetSpellTitle(spell.Title);

            Assert.Equal(spell.Title, s.Title);
        }