void () { configureByFile("/refactoring/replaceConstructorWithFactory/before" + "RecordConstructor" + ".java"); ReplaceConstructorWithFactoryAction action = new ReplaceConstructorWithFactoryAction(); ActionContext context = ActionContext.from(getEditor(), getFile()); Presentation presentation = action.getPresentation(context); assertNull(presentation); }