void () { doTest(""" import java.time.LocalDate; import java.time.LocalTime; import java.time.temporal.ChronoUnit; class UnsupportedUnit { public static void testLocalTime(LocalTime localTime) { LocalTime l1 = localTime.minus(1, ChronoUnit.HOURS); LocalTime l2 = localTime.minus(1, /*Unsupported argument value: 'DAYS'*/ChronoUnit.DAYS/**/); } public static void testLocalDate(LocalDate localDate) { LocalDate l1 = localDate.minus(1, /*Unsupported argument value: 'HOURS'*/ChronoUnit.HOURS/**/); LocalDate l2 = localDate.minus(1, ChronoUnit.DAYS); } }"""); }