diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/TestSightlessGhoul.java b/Mage.Tests/src/test/java/org/mage/test/cards/TestSightlessGhoul.java new file mode 100644 index 00000000000..7744b5c7889 --- /dev/null +++ b/Mage.Tests/src/test/java/org/mage/test/cards/TestSightlessGhoul.java @@ -0,0 +1,29 @@ +package org.mage.test.cards; + +import mage.Constants; +import mage.counters.CounterType; +import org.junit.Test; +import org.mage.test.serverside.base.CardTestPlayerBase; + +/** + * @author loki + */ +public class TestSightlessGhoul extends CardTestPlayerBase { + + @Test + public void testUndying() { + addCard(Constants.Zone.BATTLEFIELD, playerA, "Sightless Ghoul"); + + addCard(Constants.Zone.HAND, playerB, "Mountain", 8); + addCard(Constants.Zone.HAND, playerB, "Lightning Bolt"); + + castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerB, "Lightning Bolt", "Sightless Ghoul"); + setStopAt(1, Constants.PhaseStep.END_TURN); + execute(); + + assertLife(playerA, 20); + assertLife(playerB, 20); + assertPermanentCount(playerA, "Sightless Ghoul", 1); + assertCounterCount("Sightless Ghoul", CounterType.P1P1, 1); + } +}