public void SpellPowerTest()
        {
            Eviscerate       Eviscerate        = SetTestedCardInHand <Eviscerate>();
            BloodmageThalnos bloodmageThalnos  = SetTestedCardInHand <BloodmageThalnos>();
            GameResult <GameContextOutput> res = proxy.CastServant(gameContext.GameCode, gameContext.GetActivationUserContext().UserCode, bloodmageThalnos.CardInGameCode, 3, -1) as GameResult <GameContextOutput>;

            Xunit.Assert.True(res.code == (int)OperateResCodeEnum.成功);
            res = proxy.CastSpell(gameContext.GameCode, gameContext.GetActivationUserContext().UserCode, Eviscerate.CardInGameCode, 8) as GameResult <GameContextOutput>;
            Xunit.Assert.True(res.code == (int)OperateResCodeEnum.成功);
            Xunit.Assert.True(gameContext.DeskCards[8].Life == 25);
        }
        public void WhenDie()
        {
            BloodmageThalnos bloodmageThalnos1 = SetTestedCardInHand <BloodmageThalnos>();

            bloodmageThalnos1.IsDeathing = true;

            Card firstCard = gameContext.GetActivationUserContext().StockCards.First();

            GameResult <GameContextOutput> res = proxy.CastServant(gameContext.GameCode, gameContext.GetActivationUserContext().UserCode, bloodmageThalnos1.CardInGameCode, 3, -1) as GameResult <GameContextOutput>;

            Xunit.Assert.True(res.code == (int)OperateResCodeEnum.成功);
            Xunit.Assert.True(gameContext.GetActivationUserContext().GraveyardCards.Any(c => c.CardInGameCode == bloodmageThalnos1.CardInGameCode));
            Xunit.Assert.True(gameContext.GetActivationUserContext().HandCards.First().CardInGameCode == firstCard.CardInGameCode);
        }