public void StowSpellbook_Null_Throws() { // Arrange var character = Mock.Of <ICharacter>(); EquipmentSection equipmentSection = new EquipmentSection(character); ISpellbook spellbook = null; // Act TestDelegate stow = () => equipmentSection.Stow(spellbook); // Assert Assert.Throws <ArgumentNullException>(stow); }
public Caster(string name) { _spelboook = new Spellbook(1); }