void () { doTest(() -> { PsiClass aClass = myFixture.findClass("Test"); assertNotNull("Class Test not found", aClass); final ArrayList<PsiField> fields = new ArrayList<>(); fields.add(aClass.findFieldByName("myT", false)); ExtractClassProcessor processor = new ExtractClassProcessor(aClass, fields, new ArrayList<>(), new ArrayList<>(), "", "Extracted"); processor.run(); }); }