@@ -0,0 +1,870 @@
+package com.skraylabs.poker.model;%0A%0Aimport static org.hamcrest.CoreMatchers.equalTo;%0Aimport static org.hamcrest.CoreMatchers.notNullValue;%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0Aimport static org.junit.Assert.fail;%0A%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Apublic class CardFactoryTest %7B%0A%0A  @Before%0A  public void setUp() throws Exception %7B%7D%0A%0A  @After%0A  public void tearDown() throws Exception %7B%7D%0A%0A  @Test%0A  public void testValidInput() %7B%0A    // Exercise%0A    Card card = null;%0A    try %7B%0A      card = CardFactory.createCardFromString(%22As%22);%0A    %7D catch (InvalidCardFormatException e) %7B%0A      fail(%22An InvalidCardFormatException was thrown for a valid Card input.%22);%0A    %7D%0A    // Verify%0A    assertThat(card, notNullValue());%0A    assertThat(card.rank, equalTo(Rank.Ace));%0A    assertThat(card.suit, equalTo(Suit.Spades));%0A  %7D%0A%0A%7D%0A

Add test class CardFactoryTest.