@Test
public void canSerialize() {

    final Object result = new Java8LocalDateConverter().toDbValue(LocalDate.of(2014, 1, 1));
    assertThat(result).isNotNull();
    assertThat(result).isInstanceOf(Date.class);
}