mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 21:02:08 -08:00
implemented Eternalize Ability + Steadfast Sentinel
This commit is contained in:
parent
441e96ebcc
commit
d63b241d54
4 changed files with 197 additions and 4 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue