/**
   * http请求方式: POST(请使用https协议)<br>
   * https://api.weixin.qq.com/cgi-bin/groups/create?access_token=ACCESS_TOKEN<br>
   * POST数据格式:json<br>
   * POST数据例子:{"group":{"name":"test"}}<br>
   * { "group": { "id": 107, "name": "test" } } <br>
   *
   * @param groupName
   * @return
   * @throws WxException
   */
  public WxGroupEntity remoteGroupsCreate(String accessToken, String groupName) throws WxException {
    Map<String, Object> requestJson = new HashMap<String, Object>();
    Map<String, Object> l1Json = new HashMap<String, Object>();
    l1Json.put("name", groupName);
    requestJson.put("group", l1Json);

    ResultMapper result =
        sendRequest(
            config.getGroupsCreateUrl(),
            HttpMethod.POST,
            getAccessTokenParams(accessToken),
            toJsonStringEntity(requestJson),
            ResultMapper.class);
    return result.getGroup();
  }