void () { PsiDirectory javaLang = OBJECT_CLASS.getContainingFile().getContainingDirectory(); ElementPresentation presentation = ElementPresentation.forElement(javaLang); checkFSPresentation(presentation, "/java/lang", "lang", "/java"); assertSame(ElementPresentation.Noun.DIRECTORY, presentation.getKind()); }