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

        assertEquals("Hand " + pair1 + " isn't recognized as a pair hand", 
                PokerHandType.PAIR, comparator.determineHandType(pair1));
    }