### Question:
WikipediaDatasetCreator { static String cleanPersonName(String title) { title = title.replaceAll("\\s\\([^)]*\\)", ""); title = title.replaceAll(",?\\s(Jr|Sr)\\.", ""); return title.trim(); }  static void createCombinedAnnotationFiles(File datasetDirectory, File destinationPath); static void createCombinedAnnotationFiles(Collection<File> datasetFiles, File destinationPath); static void createCombinedAnnotationFilesEvaluation(File datasetDirectory, File destinationPath); static void mineWikipedia(int numThreads, final File destinationPath); static void main(String[] args);  }### Answer:
@Test public void testCleanPersonName() { assertEquals("Jasper Johns", cleanPersonName("Jasper Johns, Jr.")); assertEquals("William King", cleanPersonName("William King")); }