示例#1
0
        public void Cant_find_spell()
        {
            _player.Status = CharacterStatus.Status.Standing;
            var foundSpell = _spell.FindSpell("test", _player);

            _writer.Verify(w => w.WriteLine(It.Is <string>(s => s == "You don't know a spell that begins with test"), _player.ConnectionId), Times.Once);
            Assert.True(foundSpell == null);
        }