@Test
    public void testEquals() {
        AbstractCardCollection collection = new AbstractCardCollectionImpl(2);  
        
        assertTrue(collection.addCard(new Card(Suit.CLUB, Rank.ACE)));      
        assertTrue(collection.addCard(new Card(Suit.SPADE, Rank.ACE)));  
        
        AbstractCardCollection collection2 = new AbstractCardCollectionImpl(2);  
        
        assertTrue(collection2.addCard(new Card(Suit.CLUB, Rank.ACE)));      
        assertTrue(collection2.addCard(new Card(Suit.SPADE, Rank.ACE)));  
        
        assertFalse(collection.equals(collection2));
        assertFalse(collection2.equals(collection));
    }