/** Test of setDeck method, of class Hero. */
  @Test
  public void testSetDeck() {
    System.out.println("setDeck");
    Player testPlayer = new Player(0, "testName", 0, 0, 0, 0, 0);
    Match testMatch = new Match(testPlayer);
    Deck testDeck = new Deck();
    Hero testHero = new Hero(testMatch, testPlayer, testDeck);

    Deck deck = new Deck();

    testHero.setDeck(deck);
    assertEquals(testHero.getDeck(), deck);

    deck.addCard(new HeroCard("testname", "testFilename", "testDescription", 1, 1, 1, 1, 1) {});

    testHero.setDeck(deck);
    assertEquals(testHero.getDeck(), deck);
  }
  /** Test of pullCards method, of class Hero. */
  @Test
  public void testPullCards() {
    System.out.println("pullCards");
    Player testPlayer = new Player(0, "testName", 0, 0, 0, 0, 0);
    Match testMatch = new Match(testPlayer);
    Deck testDeck = new Deck();
    Hero testHero = new Hero(testMatch, testPlayer, testDeck);

    for (int i = 0; i < 30; i++) {
      testDeck.addCard(
          new HeroCard("testname", "testFilename", "testDescription", 1, 1, 1, 1, 1) {});
    }

    testHero.pullCards();

    ArrayList<Card> result = testHero.getInHand();
    assertNotNull(result);
  }