@Test
    public void testDetermineHandTypeTwoPair() {
        FiveCardPokerHand twoPair2 = new FiveCardPokerHand();
        assertTrue(twoPair2.addCard(new Card(Suit.DIAMOND, Rank.QUEEN)));
        assertTrue(twoPair2.addCard(new Card(Suit.SPADE, Rank.ACE)));
        assertTrue(twoPair2.addCard(new Card(Suit.CLUB, Rank.QUEEN)));
        assertTrue(twoPair2.addCard(new Card(Suit.DIAMOND, Rank.SEVEN)));
        assertTrue(twoPair2.addCard(new Card(Suit.CLUB, Rank.SEVEN)));
        
        assertEquals("Hand " + twoPair2 + " isn't recognized as a two pair hand", 
                PokerHandType.TWO_PAIR, comparator.determineHandType(twoPair2));
    }