### Question:
CodestartCatalogLoader { static String getResourcePath(String first, String... more) { return Paths.get(first, more).toString().replace('\\', '/'); } private  CodestartCatalogLoader(); static CodestartCatalog<CodestartProjectInput> loadDefaultCatalog(CodestartPathLoader pathLoader,
            String first,
            String... more); static Collection<Codestart> loadUserDirectoryCodestarts(Path directory); static List<Codestart> loadCodestarts(CodestartPathLoader pathLoader, String first, String... more);  }### Answer:
@Test void testGetResourcePath() { assertThat(CodestartCatalogLoader.getResourcePath("codestart")).isEqualTo("codestart"); assertThat(CodestartCatalogLoader.getResourcePath("codestart/")).isEqualTo("codestart"); assertThat(CodestartCatalogLoader.getResourcePath("codestart", "/my-codestart/")).isEqualTo("codestart/my-codestart"); assertThat(CodestartCatalogLoader.getResourcePath("codestart/", "/my-codestart")).isEqualTo("codestart/my-codestart"); }