void () { doTest("java.lang.IllegalArgumentException", "Find why 'x' could be 5", """ class X { static void test(int x) { switch (x) { case 3: System.out.println("oops"); break; case 5: throw new IllegalArgumentException(); } }}"""); }