@Test
public void shouldThrowExceptionWhenConvertingSqlTimeToLocalDate() {

    java.sql.Time time = new java.sql.Time(1);
    try {
        Conversions.toLocalDate(time);
        fail("Should not accept java.sql.Time values");
    }
    catch (IllegalArgumentException e) {
        // expected
    }
}