test for issue #7772

This commit is contained in:
Ingmar Goudt 2021-04-26 22:49:48 +02:00
parent 30086a5f60
commit 251e141b50

View file

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