WXModuleManager { public static void reload(){ if(sModuleFactoryMap!=null){ Set<String> keys=sModuleFactoryMap.keySet(); for(String key:keys){ registerJSModule(key,sModuleFactoryMap.get(key)); } } }  static boolean registerModule(final String moduleName, final ModuleFactory factory, final boolean global); static void destroyInstanceModules(String instanceId); static void reload();  }
@Test public void testReload() throws Exception { WXModuleManager.reload(); }