diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/cost/sacrifice/MomentousFallTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/cost/sacrifice/MomentousFallTest.java new file mode 100644 index 00000000000..48ed636b371 --- /dev/null +++ b/Mage.Tests/src/test/java/org/mage/test/cards/cost/sacrifice/MomentousFallTest.java @@ -0,0 +1,48 @@ +package org.mage.test.cards.cost.sacrifice; + +import mage.Constants; +import org.junit.Test; +import org.mage.test.serverside.base.CardTestPlayerBase; + +/** + * + * @author noxx + */ +public class MomentousFallTest extends CardTestPlayerBase { + + @Test + public void testSacrificeCostAndLKI() { + addCard(Constants.Zone.BATTLEFIELD, playerA, "Forest", 4); + addCard(Constants.Zone.HAND, playerA, "Momentous Fall"); + addCard(Constants.Zone.BATTLEFIELD, playerA, "Geralf's Messenger", 1); + addCard(Constants.Zone.BATTLEFIELD, playerA, "Glorious Anthem", 1); + + castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Momentous Fall"); + + setStopAt(1, Constants.PhaseStep.BEGIN_COMBAT); + execute(); + + assertPermanentCount(playerA, "Geralf's Messenger", 1); + assertPowerToughness(playerA, "Geralf's Messenger", 5, 4); // +1/+1 counter + Anthem effect + assertHandCount(playerA, 4); // +4 cards + assertLife(playerA, 23); // +3 life + } + + @Test + public void testSacrificeCostForProGreen() { + addCard(Constants.Zone.BATTLEFIELD, playerA, "Forest", 4); + addCard(Constants.Zone.HAND, playerA, "Momentous Fall"); + addCard(Constants.Zone.BATTLEFIELD, playerA, "Mirran Crusader"); + + castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Momentous Fall"); + + setStopAt(1, Constants.PhaseStep.BEGIN_COMBAT); + execute(); + + assertPermanentCount(playerA, "Mirran Crusader", 0); + assertHandCount(playerA, 2); // +2 cards + assertLife(playerA, 22); // +2 life + } + + +}