  @Test
  public void testCallDomMethod() throws Exception {

    module.callDomMethod(null);

    JSONObject obj = new JSONObject();
    for (String m :
      METHODS) {
      obj.put(WXBridgeManager.METHOD,m);
      module.callDomMethod(obj);
    }


    obj = new JSONObject();
    for (Object[] args:ARGS_CASES
         ) {
      JSONArray ary = new JSONArray();
      if(args == null){
        ary = null;
      }else {
        for (Object arg : args
          ) {
          ary.add(arg);
        }
      }
      obj.put(WXBridgeManager.ARGS,ary);
      for (String m :
        METHODS) {
        obj.put(WXBridgeManager.METHOD,m);
        module.callDomMethod(obj);
      }
    }
  }