void () { myFixture.configureByText(JavaFileType.INSTANCE, "public class Foo extends Bo<caret>o {\n" + " public static void main(String[] args) {}" + "}"); List<IntentionAction> actions = myFixture.getAvailableIntentions(); assertThat(actions.get(0).getText()).startsWith("Create class "); }