void () { PsiClass aClass = myFixture.addClass("sealed interface A {}"); myFixture.addClass("interface B {}"); myFixture.configureByText("C.java", "final class C implements A<caret>, B {}"); checkPreviewAndInvoke(aClass, "Add 'C' to permits list of sealed class 'A'", "sealed interface A permits C {}"); }