@Test
public void canSerialize() {

    final Object result = new Java8LocalDateTimeConverter().toDbValue(LocalDateTime.of(2014, 1, 1, 17, 30, 20));
    assertThat(result).isNotNull();
    assertThat(result).isInstanceOf(Date.class);
}