### Question:
WxMpMemberCardServiceImpl implements WxMpMemberCardService { @Override public String activateMemberCard(WxMpMemberCardActivatedMessage activatedMessage) throws WxErrorException { return this.wxMpService.post(MEMBER_CARD_ACTIVATE, GSON.toJson(activatedMessage)); } 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 testActivateMemberCard() throws Exception { WxMpMemberCardActivatedMessage activatedMessage = new WxMpMemberCardActivatedMessage(); activatedMessage.setMembershipNumber(openId); activatedMessage.setCardId(cardId); activatedMessage.setInitBonus(2000); activatedMessage.setInitBonusRecord("测试激活送积分"); String response = this.wxService.getMemberCardService().activateMemberCard(activatedMessage); assertNotNull(response); System.out.println(response); }