mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
unit test shapestealer #2
This commit is contained in:
parent
d982e215d6
commit
1405bc87ae
1 changed files with 22 additions and 1 deletions
|
@ -1,4 +1,25 @@
|
||||||
package org.mage.test.cards.triggers;
|
package org.mage.test.cards.triggers;
|
||||||
|
|
||||||
public class ShapeStealerTest {
|
import mage.constants.PhaseStep;
|
||||||
|
import mage.constants.Zone;
|
||||||
|
import org.junit.Test;
|
||||||
|
import org.mage.test.serverside.base.CardTestPlayerBase;
|
||||||
|
|
||||||
|
public class ShapeStealerTest extends CardTestPlayerBase {
|
||||||
|
|
||||||
|
private String shapeStealer = "Shape Stealer";
|
||||||
|
private String myojinOfCleansingFire = "Myojin of Cleansing Fire";
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testShapeStealerSingleBlocker() {
|
||||||
|
addCard(Zone.BATTLEFIELD, playerA, shapeStealer);
|
||||||
|
addCard(Zone.BATTLEFIELD, playerB, myojinOfCleansingFire);
|
||||||
|
attack(1, playerA, shapeStealer);
|
||||||
|
block(1, playerB, myojinOfCleansingFire, shapeStealer);
|
||||||
|
setStopAt(1, PhaseStep.END_COMBAT);
|
||||||
|
execute();
|
||||||
|
assertDamageReceived(playerA, shapeStealer, 4);
|
||||||
|
assertPowerToughness(playerA, shapeStealer, 4, 6);
|
||||||
|
assertDamageReceived(playerB, myojinOfCleansingFire, 4);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue