### Question:
WxMpMemberCardServiceImpl implements WxMpMemberCardService { @Override public WxMpMemberCardUserInfoResult getUserInfo(String cardId, String code) throws WxErrorException { JsonObject jsonObject = new JsonObject(); jsonObject.addProperty("card_id", cardId); jsonObject.addProperty("code", code); String responseContent = this.getWxMpService().post(MEMBER_CARD_USER_INFO_GET, jsonObject.toString()); log.debug("{}", responseContent); JsonElement tmpJsonElement = new JsonParser().parse(responseContent); return WxMpGsonBuilder.create().fromJson(tmpJsonElement, new TypeToken<WxMpMemberCardUserInfoResult>() { }.getType()); } WxMpMemberCardServiceImpl(WxMpService wxMpService); @Override WxMpService getWxMpService(); @Override WxMpCardCreateResult createMemberCard(String createJson); @Override WxMpCardCreateResult createMemberCard(WxMpMemberCardCreateMessage createMessageMessage); @Override String activateMemberCard(WxMpMemberCardActivatedMessage activatedMessage); @Override WxMpMemberCardUserInfoResult getUserInfo(String cardId, String code); @Override WxMpMemberCardUpdateResult updateUserMemberCard(WxMpMemberCardUpdateMessage updateUserMessage); @Override MemberCardActivateUserFormResult setActivateUserForm(MemberCardActivateUserFormRequest userFormRequest); @Override ActivatePluginParam getActivatePluginParam(String cardId, String outStr); @Override CardUpdateResult updateCardInfo(MemberCardUpdateRequest memberCardUpdateRequest); @Override WxMpMemberCardActivateTempInfoResult getActivateTempInfo(String activateTicket); static Map<String, String> parseRequestUrl(String url);  }### Answer:
@Test public void testGetUserInfo() throws Exception { WxMpMemberCardUserInfoResult result = this.wxService.getMemberCardService().getUserInfo(cardId, code); assertNotNull(result); System.out.println(result); }