void () { PsiMethodCallExpression methodCall = createCall("void foo() throws Exception { throwsIOException(); }"); List<PsiClassType> exceptions = ExceptionUtil.getUnhandledExceptions(methodCall, null); assertTrue(exceptions.isEmpty()); }