### Question:
App { protected List<Class> convertPluginNamesToClasses(List<String> names) { List<Class> plugins = new ArrayList<Class>(); for (String appClass : names) { try { Class clazz = ClassUtils.getClass(appClass); plugins.add(clazz); } catch (Exception ex) { Logger.getLogger(App.class.getName()).log(Level.SEVERE, null, ex); } } return plugins; } App(String appName, String src_host, String src_db, int src_port, String src_username); void setLocalCouchManager(LocalCouch localCouchManager); void start(); String getSrcReplicationUrl(boolean includeUserDetails); CouchDbConnector getSrcConnector(); static void main(String[] args); static String[] parseUsernamePass(String arg);  }### Answer:
@Test public void testConvertNamesToClasses() throws IOException { App app2 = new App("App Name", "choose.iriscouch.com", "choose", 81, null); List<String> plugins = Arrays.asList("com.github.couchapptakeout.App"); List<Class> results = app2.convertPluginNamesToClasses(plugins); assertEquals(1, results.size()); assertEquals(App.class, results.get(0)); }