mirror of
https://github.com/correl/mage.git
synced 2024-11-25 03:00:11 +00:00
test for issue #7772
This commit is contained in:
parent
30086a5f60
commit
251e141b50
1 changed files with 28 additions and 0 deletions
|
@ -0,0 +1,28 @@
|
|||
package org.mage.test.cards.single.chk;
|
||||
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
public class Test_HorobiDeathsWail extends CardTestPlayerBase {
|
||||
|
||||
// issue 7772
|
||||
@Test
|
||||
@Ignore
|
||||
public void animateDeadOnHorobi(){
|
||||
// Animate Dead
|
||||
addCard(Zone.HAND, playerA, "Animate Dead");
|
||||
// Whenever a creature becomes the target of a spell or ability, destroy that creature.
|
||||
addCard(Zone.GRAVEYARD, playerA, "Horobi, Death's Wail");
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 2);
|
||||
|
||||
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Animate Dead", "Horobi, Death's Wail");
|
||||
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
|
||||
execute();
|
||||
assertAllCommandsUsed();
|
||||
assertPermanentCount(playerA, "Horobi, Death's Wail", 1);
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue