### Question:
ServiceLocator { protected List<String> getClasspathServiceResourceNames() { List<String> paths = new ArrayList<>(); for (String suffix : new String[] { "services/" + MarkupLanguage.class.getName(), "services/" + MarkupLanguageProvider.class.getName() }) { for (String prefix : new String[] { "", "META-INF/" }) { paths.add(prefix + suffix); } } return ImmutableList.copyOf(paths); } protected  ServiceLocator(ClassLoader classLoader); static ServiceLocator getInstance(ClassLoader classLoader); static ServiceLocator getInstance(); MarkupLanguage getMarkupLanguage(final String languageName); Set<MarkupLanguage> getAllMarkupLanguages(); static void setImplementation(Class<? extends ServiceLocator> implementationClass);  }### Answer:
@Test public void getClasspathServiceResourceNames() { List<String> names = locator.getClasspathServiceResourceNames(); assertNotNull(names); assertTrue(names.contains("META-INF/services/" + MarkupLanguage.class.getName())); assertTrue(names.contains("services/" + MarkupLanguage.class.getName())); }