### Question:
WxMaUserServiceImpl implements WxMaUserService { @Override public boolean checkUserInfo(String sessionKey, String rawData, String signature) { final String generatedSignature = DigestUtils.sha1Hex(rawData + sessionKey); return generatedSignature.equals(signature); } WxMaUserServiceImpl(WxMaService service); @Override WxMaJscode2SessionResult getSessionInfo(String jsCode); @Override WxMaUserInfo getUserInfo(String sessionKey, String encryptedData, String ivStr); @Override void setUserStorage(Map<String, String> kvMap, String sessionKey, String openid); @Override WxMaPhoneNumberInfo getPhoneNoInfo(String sessionKey, String encryptedData, String ivStr); @Override boolean checkUserInfo(String sessionKey, String rawData, String signature);  }### Answer:
@Test public void testCheckUserInfo() { assertTrue(this.wxService.getUserService().checkUserInfo("HyVFkGl5F5OQWJZZaNzBBg==", "{\"nickName\":\"Band\",\"gender\":1,\"language\":\"zh_CN\",\"city\":\"Guangzhou\",\"province\":\"Guangdong\",\"country\":\"CN\",\"avatarUrl\":\"http: "75e81ceda165f4ffa64f4068af58c64b8f54b88c")); }