void () { doMemberTest(InspectionGadgetsBundle.message("remove.finally.block.quickfix"), """ void m() throws Exception { try (AutoCloseable r = null) { throw new Exception(); } finally/**/ { } }""", """ void m() throws Exception { try (AutoCloseable r = null) { throw new Exception(); } }""" ); }