mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
Create test class to validate error
This commit is contained in:
parent
6fb344a306
commit
d98e43ded2
1 changed files with 20 additions and 1 deletions
|
@ -1,7 +1,26 @@
|
|||
package org.mage.test.cards.abilities.other;
|
||||
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
/**
|
||||
* Created by alexsandro on 06/03/17.
|
||||
*/
|
||||
public class SakashimaTheImpostorTest {
|
||||
public class SakashimaTheImpostorTest extends CardTestPlayerBase {
|
||||
@Test
|
||||
public void copySpellStutterTest() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Spellstutter Sprite", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Island", 4);
|
||||
addCard(Zone.HAND, playerB, "Sakashima the Impostor", 4);
|
||||
|
||||
castSpell(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Sakashima the Impostor");
|
||||
setChoice(playerB, "Spellstutter Sprite");
|
||||
|
||||
setStopAt(4, PhaseStep.END_TURN);
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerA, "Spellstutter Sprite", 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue