@Test
public void operationIsSymetric() {

    final LocalDateTime originalDate = LocalDateTime.of(2014, 1, 1, 17, 10, 23);
    final Java8LocalDateTimeConverter converter = new Java8LocalDateTimeConverter();
    final Object serialized = converter.toDbValue(originalDate);
    final Object unserialized = converter.fromDbValue(serialized);
    assertThat(unserialized).isEqualTo(originalDate);
}