void () { UniqueNameBuilder<String> builder = new UniqueNameBuilder<>("", "/"); builder.addPath("A", "foo/.htaccess"); builder.addPath("B", "bar/.htaccess"); String shortPath = builder.getShortPath("A"); assertEquals("foo/.htaccess", UniqueNameEditorTabTitleProvider.Companion.getEditorTabText(shortPath, builder.getSeparator(), false)); assertEquals("foo/.htaccess", UniqueNameEditorTabTitleProvider.Companion.getEditorTabText(shortPath, builder.getSeparator(), true)); }