### Question:
SimonConsolePluginManager { public void addPlugins(String pluginTypeNames) { String[] pluginTypeNameList = pluginTypeNames.split(","); for (String pluginTypeName : pluginTypeNameList) { pluginTypeName = pluginTypeName.trim(); if (!pluginTypeName.equals("")) { addPlugin(pluginTypeName); } } }  List<SimonConsolePlugin> getPlugins(); List<T> getPluginsByType(Class<T> pluginType); SimonConsolePlugin getPluginById(String id); void addPlugin(SimonConsolePlugin plugin); void addPlugin(Class<T> pluginType); void addPlugin(String pluginTypeName); void addPlugins(String pluginTypeNames); boolean removePluginById(String id); List<ActionBinding> getActionBindings();  }### Answer:
@Test public void testAddPlugins() { pluginManager.addPlugins(" " + DummyDetailPlugin.class.getName() + ",\r\n\t" + DummyOtherPlugin.class.getName() + " "); assertPluginByType(DummyDetailPlugin.class); assertPluginByType(DummyOtherPlugin.class); }