@Test
public void localdatetimes_are_converted_to_timestamps() {

    final LocalDateTime localDate = LocalDateTime.of(1999, APRIL, 12, 10, 12, 10, 10);
    Timestamp timestamp = new LocalDateTimeConverter().convertToDatabaseColumn(localDate);
    assertThat(timestamp, is(equalTo(Timestamp.valueOf(localDate))));
}