- Added test for Rebound ability. Fails. This was working in .83

This commit is contained in:
jeffwadsworth 2012-06-24 11:22:11 -05:00
parent 9affdd1dcc
commit 2c80ed377d

View file

@ -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);
}
}