From a422c0a4d8af6451e86b9883695405b8185c1785 Mon Sep 17 00:00:00 2001 From: igoudt Date: Thu, 6 Jul 2017 02:10:04 +0200 Subject: [PATCH] added Mycosynth Lattice test for #3604 --- .../test/cards/mana/MycosynthLatticeTest.java | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Mage.Tests/src/test/java/org/mage/test/cards/mana/MycosynthLatticeTest.java diff --git a/Mage.Tests/src/test/java/org/mage/test/cards/mana/MycosynthLatticeTest.java b/Mage.Tests/src/test/java/org/mage/test/cards/mana/MycosynthLatticeTest.java new file mode 100644 index 00000000000..531ecf77927 --- /dev/null +++ b/Mage.Tests/src/test/java/org/mage/test/cards/mana/MycosynthLatticeTest.java @@ -0,0 +1,32 @@ +package org.mage.test.cards.mana; + +import mage.constants.PhaseStep; +import mage.constants.Zone; +import mage.counters.CounterType; +import org.junit.Test; +import org.mage.test.serverside.base.CardTestPlayerBase; + +public class MycosynthLatticeTest extends CardTestPlayerBase { + + + @Test + public void testMycoSynthLatticeWithCrystallineCrawler(){ + String crawler = "Crystalline Crawler"; + String lattice = "Mycosynth Lattice"; + + addCard(Zone.BATTLEFIELD, playerA, lattice); + addCard(Zone.BATTLEFIELD, playerA, "Plains"); + addCard(Zone.BATTLEFIELD, playerA, "Island"); + addCard(Zone.BATTLEFIELD, playerA, "Swamp"); + addCard(Zone.BATTLEFIELD, playerA, "Mountain"); + addCard(Zone.HAND, playerA, crawler); + + castSpell(1, PhaseStep.PRECOMBAT_MAIN, playerA, crawler); + + setStopAt(1, PhaseStep.POSTCOMBAT_MAIN); + + execute(); + + assertCounterCount(playerA, crawler, CounterType.P1P1, 4); + } +}