### Question:
ClassPathAnalyzer { public List<String> analyzeClassPath() { String cp = System.getProperty("java.class.path"); String delim = System.getProperty("path.separator"); String[] paths = cp.split(delim); for (String s : paths) { try { File f = new File(s); if (f.isDirectory()) analyzeDir(f); if (f.isFile() && f.getName().endsWith(".jar")) analyzeJar(f); } catch (Exception ex) { _logger.debug(ex.getMessage(), ex); } } return _classNames; } ClassPathAnalyzer();  ClassPathAnalyzer(String filter); List<String> analyzeClassPath();  }### Answer:
@Test public void test() { ClassPathAnalyzer cpa = new ClassPathAnalyzer("seage.problem"); List<String> list = cpa.analyzeClassPath(); assertNotNull(list); assertTrue(list.size() > 0); }