@Test
    public void testHighCardVsHighCard2() {
        FiveCardPokerHand highCard = new FiveCardPokerHand();
        assertTrue(highCard.addCard(new Card(Suit.SPADE, Rank.ACE)));
        assertTrue(highCard.addCard(new Card(Suit.CLUB, Rank.QUEEN)));
        assertTrue(highCard.addCard(new Card(Suit.SPADE, Rank.SEVEN)));
        assertTrue(highCard.addCard(new Card(Suit.DIAMOND, Rank.KING)));
        assertTrue(highCard.addCard(new Card(Suit.SPADE, Rank.NINE)));

        FiveCardPokerHand highCard2 = new FiveCardPokerHand();
        assertTrue(highCard2.addCard(new Card(Suit.CLUB, Rank.ACE)));
        assertTrue(highCard2.addCard(new Card(Suit.SPADE, Rank.QUEEN)));
        assertTrue(highCard2.addCard(new Card(Suit.DIAMOND, Rank.SIX)));
        assertTrue(highCard2.addCard(new Card(Suit.CLUB, Rank.KING)));
        assertTrue(highCard2.addCard(new Card(Suit.CLUB, Rank.NINE)));

        assertTrue("Hand " + highCard + " doesn't beat hand " + highCard2,
                comparator.compare(highCard, highCard2) < 0);
    }