@Test
    public void testSortList() {
        List<Card> cards = new ArrayList<Card>();

        Card shouldBeSecond = new Card(Suit.CLUB, Rank.THREE);
        cards.add(shouldBeSecond);
        Card shouldBeFirst = new Card(Suit.SPADE, Rank.ACE);
        cards.add(shouldBeFirst);
        Card shouldBeFourth = new Card(Suit.HEART, Rank.NINE);
        cards.add(shouldBeFourth);
        Card shouldBeThird = new Card(Suit.SPADE, Rank.EIGHT);
        cards.add(shouldBeThird);
        Card shouldBeFifth = new Card(Suit.SPADE, Rank.QUEEN);
        cards.add(shouldBeFifth);

        Collections.sort(cards);

        assertEquals(shouldBeFirst, cards.get(0));
        assertEquals(shouldBeSecond, cards.get(1));
        assertEquals(shouldBeThird, cards.get(2));
        assertEquals(shouldBeFourth, cards.get(3));
        assertEquals(shouldBeFifth, cards.get(4));
    }