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

    LocalTime now = LocalTime.now();
    java.sql.Time time = new java.sql.Time(now.getHour(), now.getMinute(), now.getSecond()); // 0 nanos!
    assertThat(Conversions.toLocalTime(time)).isEqualTo(now.withNano(0));
}