@Test
    public void testThreeOfAKindVsThreeOfAKindTie() {
        FiveCardPokerHand threeOfAKind1 = new FiveCardPokerHand();
        assertTrue(threeOfAKind1.addCard(new Card(Suit.SPADE, Rank.SEVEN)));
        assertTrue(threeOfAKind1.addCard(new Card(Suit.DIAMOND, Rank.SEVEN)));
        assertTrue(threeOfAKind1.addCard(new Card(Suit.DIAMOND, Rank.QUEEN)));
        assertTrue(threeOfAKind1.addCard(new Card(Suit.SPADE, Rank.THREE)));
        assertTrue(threeOfAKind1.addCard(new Card(Suit.CLUB, Rank.SEVEN)));        

        FiveCardPokerHand threeOfAKind2 = new FiveCardPokerHand();
        assertTrue(threeOfAKind2.addCard(new Card(Suit.SPADE, Rank.SEVEN)));
        assertTrue(threeOfAKind2.addCard(new Card(Suit.CLUB, Rank.SEVEN)));
        assertTrue(threeOfAKind2.addCard(new Card(Suit.DIAMOND, Rank.SEVEN)));
        assertTrue(threeOfAKind2.addCard(new Card(Suit.DIAMOND, Rank.THREE)));
        assertTrue(threeOfAKind2.addCard(new Card(Suit.SPADE, Rank.QUEEN)));

        assertTrue("Hands " + threeOfAKind1 + " and " + threeOfAKind2 + " don't tie", 
                comparator.compare(threeOfAKind1, threeOfAKind2) == 0);
    }