void () { myFixture.addFileToProject("A.java", "interface A<T> {}"); myFixture.addFileToProject("B.java", "class B implements A <T> {}"); assertSize(1, ClassInheritorsSearch.search(myFixture.findClass("A")).findAll()); }