implemented Eternalize Ability + Steadfast Sentinel

This commit is contained in:
igoudt 2017-06-19 01:03:12 +02:00
parent 441e96ebcc
commit d63b241d54
4 changed files with 197 additions and 4 deletions

View file

@ -0,0 +1,25 @@
package org.mage.test.cards.abilities.keywords;
import mage.abilities.keyword.VigilanceAbility;
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
public class EternalizeTest extends CardTestPlayerBase {
private String sentinel = "Steadfast Sentinel";
@Test
public void testEternalize() {
addCard(Zone.GRAVEYARD, playerA, sentinel, 1);
addCard(Zone.BATTLEFIELD, playerA, "Plains", 10);
activateAbility(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Eternalize");
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
execute();
assertPermanentCount(playerA, sentinel, 1);
assertPowerToughness(playerA, sentinel, 4, 4);
assertAbility(playerA, sentinel, VigilanceAbility.getInstance(), true);
}
}