void (@NotNull ThrowableRunnable<Throwable> testRunnable) { assertResolveNotCalledInEDTDuring(ImportHelperTest::isFromJavaCodeReferenceElementResolve, () -> { try { super.runTestRunnable(testRunnable); } catch (Throwable e) { ExceptionUtil.rethrow(e); } }); }