@SuppressWarnings("deprecation")
@Test
public void shouldReturnLocalDateTimeInstanceWhenConvertingUtilTimeToLocalDateTime() {

    LocalDateTime now = LocalDateTime.now();
    java.util.Date date = new java.util.Date(now.getYear() - 1900, now.getMonthValue() - 1, now.getDayOfMonth(),
            now.getHour(), now.getMinute(), now.getSecond()); // 0 nanos!
    assertThat(Conversions.toLocalDateTime(date)).isEqualTo(now.withNano(0));
}