void () { myFixture.configureByText("Test.java", """ import org.junit.jupiter.params.provider.EnumSource; class Test { enum HostnameVerification { YES, NO; } @EnumSource(HostnameVerification.class) static void test(HostnameVerification hostnameVerification) { System.out.println(hostnameVerification); } public static void main(String[] args) { test(null); } }"""); myFixture.testHighlighting(true, false, false); }