void () { createClass("package pack; public class AAClass {}"); createClass(""" package pack; public class WithInnerAClass{ public static class Inner{} }"""); String path = "/importAfterNew"; configureByFile(path + "/before1.java"); checkResultByFile(path + "/after1.java"); configureByFile(path + "/before2.java"); selectItem(myItems[0]); checkResultByFile(path + "/after2.java"); }