@Test
    public void testRemoveAllCards() {
        AbstractCardCollection collection = new AbstractCardCollectionImpl(2);

        assertFalse(collection.isFull());        
        List<Card> toAdd = new ArrayList<Card>();
        toAdd.add(new Card(Suit.CLUB, Rank.ACE));
        toAdd.add(new Card(Suit.SPADE, Rank.ACE));
        assertTrue(collection.addCards(toAdd));
        assertTrue(collection.isFull());          
        
        List<Card> cards = collection.getCards();
        assertEquals(2, cards.size());
        for (Card card : toAdd) {
            assertTrue(cards.contains(card));
        }
        
        collection.removeAllCards();
        assertEquals(0, collection.getNumberOfCards());
    }