Example #1
0
            public void EnchantThenDisenchant()
            {
                var mirage     = C("Lingering Mirage");
                var forest     = C("Forest");
                var disenchant = C("Disenchant");

                Battlefield(P2, forest);
                Hand(P1, mirage);
                Hand(P2, disenchant);

                Exec(
                    At(Step.FirstMain)
                    .Cast(mirage, target: forest)
                    .Verify(() =>
                {
                    True(P2.HasMana(Mana.Blue));
                    False(P2.HasMana(Mana.Green));
                }),
                    At(Step.SecondMain)
                    .Cast(disenchant, target: mirage)
                    .Verify(() =>
                {
                    False(P2.HasMana(Mana.Blue));
                    True(P2.HasMana(Mana.Green));
                })
                    );
            }
Example #2
0
            public void WhenHierophantsGoesToGraveyardCreaturesLooseManaAbility()
            {
                var shock       = C("Shock");
                var hierophants = C("Citanul Hierophants");

                Hand(P1, shock);
                Battlefield(P2, hierophants, "Grizzly Bears");

                Exec(
                    At(Step.FirstMain)
                    .Verify(() => { True(P2.HasMana(2)); }),
                    At(Step.DeclareAttackers)
                    .Cast(shock, target: hierophants),
                    At(Step.SecondMain)
                    .Verify(() => { False(P2.HasMana(2)); })
                    );
            }