mirror of
https://github.com/magefree/mage.git
synced 2026-01-20 02:10:06 -08:00
remove hasSubType(String s)
This commit is contained in:
parent
c094251061
commit
f793504ba0
44 changed files with 170 additions and 213 deletions
|
|
@ -1,6 +1,7 @@
|
|||
package org.mage.test.cards.single;
|
||||
|
||||
import mage.constants.PhaseStep;
|
||||
import mage.constants.SubType;
|
||||
import mage.constants.Zone;
|
||||
import mage.game.permanent.Permanent;
|
||||
import org.junit.Assert;
|
||||
|
|
@ -28,7 +29,7 @@ public class SpiritMirrorTest extends CardTestPlayerBase {
|
|||
|
||||
assertPermanentCount(playerA, "Reflection", 1);
|
||||
Permanent reflection = getPermanent("Reflection");
|
||||
Assert.assertTrue(reflection.hasSubtype("Reflection", currentGame));
|
||||
Assert.assertTrue(reflection.hasSubtype(SubType.REFLECTION, currentGame));
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -60,7 +61,7 @@ public class SpiritMirrorTest extends CardTestPlayerBase {
|
|||
// Only one token created
|
||||
assertPermanentCount(playerA, "Reflection", 1);
|
||||
Permanent reflection = getPermanent("Reflection");
|
||||
Assert.assertTrue(reflection.hasSubtype("Reflection", currentGame));
|
||||
Assert.assertTrue(reflection.hasSubtype(SubType.REFLECTION, currentGame));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue