mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Create test for Kalitas, Bloodchief of Ghet (ZEN)
Create test for Kalitas, Bloodchief of Ghet (ZEN)
This commit is contained in:
commit
a7f2f0bd1c
1 changed files with 25 additions and 0 deletions
|
@ -0,0 +1,25 @@
|
|||
package org.mage.test.cards.single;
|
||||
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.Zone;
|
||||
import org.junit.Test;
|
||||
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||
|
||||
public class KalitasBloodchiefOfGhetTest extends CardTestPlayerBase {
|
||||
@Test
|
||||
public void testTokenCreatedOnlyIfTargetDies() {
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Kalitas, Bloodchief of Ghet", 1);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Swamp", 3);
|
||||
addCard(Zone.BATTLEFIELD, playerA, "Rest in Peace", 1);
|
||||
|
||||
addCard(Zone.BATTLEFIELD, playerB, "Gray Ogre", 1);
|
||||
|
||||
activateAbility(3, PhaseStep.PRECOMBAT_MAIN, playerA, "{B}{B}{B}", "Gray Ogre");
|
||||
setStopAt(3, PhaseStep.BEGIN_COMBAT);
|
||||
|
||||
execute();
|
||||
|
||||
assertPermanentCount(playerA, 5);
|
||||
assertPermanentCount(playerB, 0);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue