Exemple #1
0
        public void Replenish_ProcessEffect()
        {
            effect.ProcessEffect(parameter.Object);

            parameter.VerifySet(e => e.Item       = null);
            parameter.VerifySet(e => e.ObjectRoom = null);
            room.Verify(e => e.AddItemToRoom(item.Object, 0));
        }
Exemple #2
0
        public void Damage_ProcessEffect()
        {
            effect.ProcessEffect(parameter.Object);

            parameter.VerifySet(e => e.Item       = null);
            parameter.VerifySet(e => e.ObjectRoom = null);
            Assert.IsTrue(items.Contains(item.Object));
        }