@@ -0,0 +1,1311 @@
+package com.skraylabs.poker.model;%0A%0Aimport static org.hamcrest.CoreMatchers.equalTo;%0Aimport static org.hamcrest.CoreMatchers.is;%0Aimport static org.hamcrest.CoreMatchers.nullValue;%0Aimport static org.hamcrest.MatcherAssert.assertThat;%0A%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0Apublic class InvalidCardFormatExceptionTest %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 testDefaultConstructor() %7B%0A    // Exercise%0A    InvalidCardFormatException exception = new InvalidCardFormatException();%0A    // Verify%0A    String message = exception.getMessage();%0A    String invalidString = exception.getInvalidString();%0A    assertThat(message, equalTo(InvalidCardFormatException.MSG_DEFAULT));%0A    assertThat(invalidString, is(nullValue()));%0A  %7D%0A%0A  @Test%0A  public void testInitializingConstructor() %7B%0A    // Exercise%0A    InvalidCardFormatException exception = new InvalidCardFormatException(%225x%22);%0A    // Verify%0A    String message = exception.getMessage();%0A    String invalidString = exception.getInvalidString();%0A    String expectedMessage = String.format(InvalidCardFormatException.MSG_WITH_SAMPLE, %225x%22);%0A    assertThat(message, equalTo(expectedMessage));%0A    assertThat(invalidString, equalTo(%225x%22));%0A  %7D%0A%7D%0A

Define some constructor tests for InvalidCardFormatException.