Missing commit
This commit is contained in:
@@ -1,73 +0,0 @@
|
|||||||
package com.gempukku.lotro.cards.unofficial.pc.errata.set03;
|
|
||||||
|
|
||||||
import com.gempukku.lotro.cards.GenericCardTestHelper;
|
|
||||||
import com.gempukku.lotro.common.*;
|
|
||||||
import com.gempukku.lotro.game.CardNotFoundException;
|
|
||||||
import com.gempukku.lotro.game.PhysicalCardImpl;
|
|
||||||
import com.gempukku.lotro.logic.decisions.DecisionResultInvalidException;
|
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
|
||||||
|
|
||||||
public class Card_03_105_ErrataTests
|
|
||||||
{
|
|
||||||
|
|
||||||
protected GenericCardTestHelper GetScenario() throws CardNotFoundException, DecisionResultInvalidException {
|
|
||||||
return new GenericCardTestHelper(
|
|
||||||
new HashMap<>()
|
|
||||||
{{
|
|
||||||
put("card", "53_105");
|
|
||||||
// put other cards in here as needed for the test case
|
|
||||||
}},
|
|
||||||
GenericCardTestHelper.FellowshipSites,
|
|
||||||
GenericCardTestHelper.FOTRFrodo,
|
|
||||||
GenericCardTestHelper.RulingRing
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
|
||||||
public void WhyShouldntIKeepItStatsAndKeywordsAreCorrect() throws DecisionResultInvalidException, CardNotFoundException {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Set: 3
|
|
||||||
* Name: Why Shouldn't I Keep It?
|
|
||||||
* Unique: False
|
|
||||||
* Side: Shadow
|
|
||||||
* Culture: Sauron
|
|
||||||
* Twilight Cost: 0
|
|
||||||
* Type: Event
|
|
||||||
* Subtype: Maneuver
|
|
||||||
* Game Text: Spot a [sauron] minion to discard Bilbo. The Free Peoples player may discard 2 Free Peoples conditions to prevent this.
|
|
||||||
*/
|
|
||||||
|
|
||||||
var scn = GetScenario();
|
|
||||||
|
|
||||||
var card = scn.GetFreepsCard("card");
|
|
||||||
|
|
||||||
assertEquals("Why Shouldn't I Keep It?", card.getBlueprint().getTitle());
|
|
||||||
assertNull(card.getBlueprint().getSubtitle());
|
|
||||||
assertFalse(card.getBlueprint().isUnique());
|
|
||||||
assertEquals(Side.SHADOW, card.getBlueprint().getSide());
|
|
||||||
assertEquals(Culture.SAURON, card.getBlueprint().getCulture());
|
|
||||||
assertEquals(CardType.EVENT, card.getBlueprint().getCardType());
|
|
||||||
//assertTrue(scn.hasTimeword(card, Timeword.MANEUVER));
|
|
||||||
assertEquals(0, card.getBlueprint().getTwilightCost());
|
|
||||||
}
|
|
||||||
|
|
||||||
// Uncomment any @Test markers below once this is ready to be used
|
|
||||||
//@Test
|
|
||||||
public void WhyShouldntIKeepItTest1() throws DecisionResultInvalidException, CardNotFoundException {
|
|
||||||
//Pre-game setup
|
|
||||||
var scn = GetScenario();
|
|
||||||
|
|
||||||
var card = scn.GetFreepsCard("card");
|
|
||||||
scn.FreepsMoveCardToHand(card);
|
|
||||||
|
|
||||||
scn.StartGame();
|
|
||||||
scn.FreepsPlayCard(card);
|
|
||||||
|
|
||||||
assertEquals(0, scn.GetTwilight());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user