Beispiel #1
0
        public void Craftsman_Build_NotEnoughMoney()
        {
            IResult result = craftsman.Build(npc.Object, pc.Object, AvalableItemPosition.Arms, 10, "keyword", "sentenceDescription", "shortDescription", "lookDescription", "examineDescription");

            Assert.IsTrue(result.AllowAnotherCommand);
            Assert.AreEqual("You need 2 gold to have the item made for you.", result.ResultMessage);
        }
Beispiel #2
0
        public void Craftsman_Build_NotEnoughMoney()
        {
            IResult result = craftsman.Build(npc.Object, pc.Object, AvalableItemPosition.Arms, 10, "keyword", "sentenceDescription", "shortDescription", "longDescription", "examineDescription");

            Assert.IsFalse(result.ResultSuccess);
            Assert.AreEqual("not enough money", result.ResultMessage);
        }