void () { PsiClass c = createClass("Foo"); PsiClass t = createTest("FooTest"); PsiMethod cm = addMethod(c); PsiMethod tm = addMethod(t); assertSameElements(TestFinderHelper.findTestsForClass(cm), t); assertSameElements(TestFinderHelper.findClassesForTest(tm), c); assertFalse(TestFinderHelper.isTest(cm)); assertTrue(TestFinderHelper.isTest(tm)); }