[WOC] Implement Archmage of Echoes (#11017)

This commit is contained in:
Vivian Greenslade 2023-08-26 18:16:15 -02:30 committed by GitHub
parent cde60d38d8
commit 6852786a10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 90 additions and 0 deletions

View file

@ -0,0 +1,30 @@
package org.mage.test.cards.single.woc;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
import mage.constants.PhaseStep;
import mage.constants.Zone;
public class ArchmageOfEchoesTest extends CardTestPlayerBase {
private static String ARCHMAGE = "Archmage of Echoes";
private static String FAERIE = "Faerie Miscreant";
// Whenever you cast a Faerie or Wizard permanent spell, copy it.
@Test
public void testCopy() {
addCard(Zone.BATTLEFIELD, playerA, ARCHMAGE);
addCard(Zone.BATTLEFIELD, playerA, "Island", 1);
addCard(Zone.HAND, playerA, FAERIE);
castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, FAERIE);
setStopAt(1, PhaseStep.END_TURN);
setStrictChooseMode(true);
execute();
assertPermanentCount(playerA, FAERIE, 2);
}
}