* Fixed wrong asserts of undying test (#2148)

This commit is contained in:
LevelX2 2016-08-06 19:20:56 +02:00
parent 7a4b358f8a
commit 73a30f5659

View file

@ -276,9 +276,10 @@ public class UndyingTest extends CardTestPlayerBase {
}
/**
* I stole my opponents Vorapede using Simic Manipulator and shortly after someone played Wrath of God.
* Instead of returning to my opponent's board, Vorapede came back under my control.
* The rules text for Undying states that it should return under its owner's control, not its controller's.
* I stole my opponents Vorapede using Simic Manipulator and shortly after
* someone played Wrath of God. Instead of returning to my opponent's board,
* Vorapede came back under my control. The rules text for Undying states
* that it should return under its owner's control, not its controller's.
*/
@Test
public void testUndyingCreatureReturnsUnderOwnersControl() {
@ -309,10 +310,10 @@ public class UndyingTest extends CardTestPlayerBase {
assertGraveyardCount(playerB, "Doom Blade", 1);
// Vorapede should return under control of playerA, not playerB
assertPermanentCount(playerA, "Vorapede", 1);
assertPermanentCount(playerB, "Vorapede", 0);
assertCounterCount(playerA, "Vorapede", CounterType.P1P1, 1);
assertPowerToughness(playerA, "Vorapede", 6, 5);
assertPermanentCount(playerB, "Vorapede", 1);
assertPermanentCount(playerA, "Vorapede", 0);
assertCounterCount(playerB, "Vorapede", CounterType.P1P1, 1);
assertPowerToughness(playerB, "Vorapede", 6, 5);
}
}