void () { myFixture.addClass("package foo; sealed class Parent permits Child {}"); myFixture.addClass("package foo; class GrandChild extends Child {}"); myFixture.configureByText("Child.java", "package foo; class <caret>Child extends Parent {}"); assertEmpty(myFixture.filterAvailableIntentions("Make 'Child' final")); }