void () { doTest(""" import java.time.LocalDate; import java.time.LocalTime; import java.time.temporal.ChronoField; class UnsupportedField { public static void testLocalTime(LocalTime localTime) { int i1 = localTime.get(ChronoField.SECOND_OF_DAY); int i2 = localTime.get(/*Unsupported argument value: 'MONTH_OF_YEAR'*/ChronoField.MONTH_OF_YEAR/**/); } public static void testLocalDate(LocalDate localDate) { int i1 = localDate.get(/*Unsupported argument value: 'SECOND_OF_DAY'*/ChronoField.SECOND_OF_DAY/**/); int i2 = localDate.get(ChronoField.MONTH_OF_YEAR); } }"""); }