@Test
public void shouldCreateDateFromByteArrayContainingUtf8EncodingOfStringWithWellFormedDate() throws Exception {

    assertThat(factory.create(TODAY.getString().getBytes("UTF-8")), is(TODAY));
    assertThat(factory.create(LAST_YEAR.getString().getBytes("UTF-8")), is(LAST_YEAR));
}