void () { PsiClass t = createTest("FooBarBaz"); PsiClass[] classes = new PsiClass[] { createClass("BarBaz"), createClass("FooBar"), createClass("Bar"), createClass("Baz"), createClass("Foo")}; assertOrderedEquals(TestFinderHelper.findClassesForTest(t), classes); }