void () { PsiClass sam = myFixture.addClass("interface I { void foo(); }"); PsiFile usages = myFixture.addFileToProject("Some.java", "class Some { " + "void bar(I i) {}" + "{ bar(() -> {}); }; }" + "}