### Question:
ClassFinder { static String pathToClassName(String name) { return name.replace(File.separatorChar, '.').replaceAll(CLASS_FILE_EXTENSION + "$", ""); } private  ClassFinder(); @SuppressWarnings("unchecked") static Collection<Class<? extends T>> findClasses(Class<T> type,
            final Predicate<? super String> namespaceFilter);  }### Answer:
@Test public void testPathToClassName() { assertEquals("ws.palladian.classification.nb.NaiveBayesClassifier", ClassFinder.pathToClassName("ws/palladian/classification/nb/NaiveBayesClassifier.class")); }