@Test
    public void testFourOfAKindVsFourOfAKind3() {
        FiveCardPokerHand fourOfAKind1 = new FiveCardPokerHand();
        assertTrue(fourOfAKind1.addCard(new Card(Suit.CLUB, Rank.SEVEN)));
        assertTrue(fourOfAKind1.addCard(new Card(Suit.DIAMOND, Rank.SEVEN)));
        assertTrue(fourOfAKind1.addCard(new Card(Suit.SPADE, Rank.SEVEN)));
        assertTrue(fourOfAKind1.addCard(new Card(Suit.HEART, Rank.SEVEN)));
        assertTrue(fourOfAKind1.addCard(new Card(Suit.SPADE, Rank.DEUCE)));

        FiveCardPokerHand fourOfAKind2 = new FiveCardPokerHand();
        assertTrue(fourOfAKind2.addCard(new Card(Suit.CLUB, Rank.SEVEN)));
        assertTrue(fourOfAKind2.addCard(new Card(Suit.DIAMOND, Rank.SEVEN)));
        assertTrue(fourOfAKind2.addCard(new Card(Suit.SPADE, Rank.SEVEN)));
        assertTrue(fourOfAKind2.addCard(new Card(Suit.HEART, Rank.SEVEN)));
        assertTrue(fourOfAKind2.addCard(new Card(Suit.SPADE, Rank.ACE)));

        assertTrue("Hand " + fourOfAKind2 + " doesn't beat hand " + fourOfAKind1, 
                comparator.compare(fourOfAKind1, fourOfAKind2) > 0);
    }