@@ -0,0 +1,1099 @@
+package in.webplay.poker;%0A%0Aimport java.util.*;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport static org.junit.Assert.*;%0A%0Apublic class DeckTest %7B%0A    Deck deck;%0A%0A    @Before%0A    public void before() %7B%0A        deck = new Deck();%0A    %7D%0A%0A    @Test%0A    public void canCreateAFullDeck() %7B%0A        assertEquals(52, deck.size());%0A    %7D%0A%0A    @Test%0A    public void shouldRemoveDealtCardsFromDeck() %7B%0A        List%3CCard%3E hand = deck.deal(5);%0A        assertEquals(47, deck.size());%0A        assertEquals(5, hand.size());%0A    %7D%0A%0A    @Test%0A    public void shouldOnlyDealAsManyCardsAsInDeck() %7B%0A        List%3CCard%3E hand = deck.deal(100);%0A        assertEquals(0, deck.size());%0A        assertEquals(52, hand.size());%0A    %7D%0A%0A    @Test%0A    public void shouldBeAbleToShuffleDeck() %7B%0A        String preShuffle = deck.toString();%0A        deck.shuffle();%0A        String postShuffle = deck.toString();%0A        assertFalse(preShuffle.equals(postShuffle));%0A    %7D%0A%0A    @Test%0A    public void shuffledDeckShouldBeFullAgain() %7B%0A        deck.deal(5);%0A        deck.shuffle();%0A        assertEquals(52, deck.size());%0A    %7D%0A%0A%7D%0A

Add tests for Deck class