void () { assertUnwrapped(""" boolean b; switch (0) { case 1 -> { <caret>System.out.println(); b = false; } case 2 -> throw null; default -> b = true; }""", """ boolean b; System.out.println(); b = false;"""); }