diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/ReboundTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/ReboundTest.java new file mode 100644 index 00000000000..5805c846a61 --- /dev/null +++ b/Mage.Tests/src/test/java/org/mage/test/cards/abilities/keywords/ReboundTest.java @@ -0,0 +1,34 @@ +/* + * To change this template, choose Tools | Templates + * and open the template in the editor. + */ +package org.mage.test.cards.abilities.keywords; + +import mage.Constants; +import org.junit.Test; +import org.mage.test.serverside.base.CardTestPlayerBase; + +/** + * + * @author jeff + */ +public class ReboundTest extends CardTestPlayerBase{ + + @Test + public void testCastFromHandMovedToExile() { + addCard(Constants.Zone.BATTLEFIELD, playerA, "Island", 1); + addCard(Constants.Zone.HAND, playerA, "Distortion Strike"); + + addCard(Constants.Zone.BATTLEFIELD, playerB, "Memnite", 1); + + castSpell(1, Constants.PhaseStep.PRECOMBAT_MAIN, playerA, "Distortion Strike"); + + setStopAt(1, Constants.PhaseStep.BEGIN_COMBAT); + execute(); + + //check exile and graveyard + + assertExileCount("Distortion Strike", 1); + assertGraveyardCount(playerA, 0); + } +}