void () { ModifiableRootModel rootModel = createRootModel(); VirtualFile vFile = getTempDir().createVirtualDir(); ContentEntry contentEntry = rootModel.addContentEntry(vFile); CellAppearanceEx appearance = myService.forContentFolder(contentEntry.addSourceFolder(vFile, false)); assertEquals("." + File.separator, appearance.getText()); }