void () { setLanguageLevel(LanguageLevel.JDK_1_8); doTest(true, "Functional expression demands functional interface to have exact one method", new RefactoringTestUtil.MemberDescriptor("get", PsiMethod.class, true)); }