@Test
    public void testAddCardToFullHand() {
        FiveCardPokerHand hand = new FiveCardPokerHand();
        List<Card> addedCards = new ArrayList<Card>();
        
        Card c1 = new Card(Suit.CLUB, Rank.ACE);
        addedCards.add(c1);
        assertTrue(hand.addCard(c1));        
        assertFalse(hand.isFull());  
        
        Card c2 = new Card(Suit.CLUB, Rank.DEUCE);        
        addedCards.add(c2);        
        assertTrue(hand.addCard(c2));
        assertFalse(hand.isFull());             
        
        Card c3 = new Card(Suit.CLUB, Rank.THREE);        
        addedCards.add(c3);        
        assertTrue(hand.addCard(c3));
        assertFalse(hand.isFull());             
        
        Card c4 = new Card(Suit.CLUB, Rank.FOUR);
        addedCards.add(c4);        
        assertTrue(hand.addCard(c4));
        assertFalse(hand.isFull());             
        
        Card c5 = new Card(Suit.CLUB, Rank.QUEEN);        
        addedCards.add(c5);        
        assertTrue(hand.addCard(c5));        
        
        assertTrue(hand.isFull());
        Card c6 = new Card(Suit.SPADE, Rank.ACE);        
        assertFalse(hand.addCard(c6));        
        
        List<Card> cards = hand.getCards();
        
        assertTrue(cards.containsAll(addedCards));
        assertFalse(cards.contains(c6));
    }