@Test
public void shouldCreateDateFromStringRegardlessOfLeadingAndTrailingWhitespace() {

    assertThat(factory.create("  " + TODAY.getString() + "  "), is(TODAY));
    assertThat(factory.create("  " + LAST_YEAR.getString() + "  "), is(LAST_YEAR));
}