update JSoup, added test for Polluted Bonds, remove explicit parent groupId from poms

This commit is contained in:
Ingmar Goudt 2019-02-11 15:03:18 +01:00
parent ff6dd3626f
commit c8a4e7a46b
5 changed files with 33 additions and 6 deletions

View file

@ -1,4 +1,35 @@
package org.mage.test.cards.triggers;
public class PollutedBondsTest {
import mage.constants.PhaseStep;
import mage.constants.Zone;
import org.junit.Test;
import org.mage.test.serverside.base.CardTestPlayerBase;
public class PollutedBondsTest extends CardTestPlayerBase {
final String pollutedBonds = "Polluted Bonds";
@Test
public void PollutedBondsSimple(){
addCard(Zone.BATTLEFIELD, playerA, pollutedBonds);
addCard(Zone.HAND, playerB, "Forest");
playLand(2, PhaseStep.PRECOMBAT_MAIN, playerB, "Forest");
setStopAt(2, PhaseStep.POSTCOMBAT_MAIN);
execute();
assertAllCommandsUsed();
assertLife(playerA, 22);
assertLife(playerB, 18);
}
@Test
public void PollutedBondsOwnLand(){
addCard(Zone.BATTLEFIELD, playerA, pollutedBonds);
addCard(Zone.HAND, playerA, "Forest");
playLand(1, PhaseStep.PRECOMBAT_MAIN, playerA, "Forest");
setStopAt(1, PhaseStep.POSTCOMBAT_MAIN);
execute();
assertAllCommandsUsed();
assertLife(playerA, 20);
assertLife(playerB, 20);
}
}