???????磬??????????user?????????Χ????????????д??
????public BaseUserDO getExpectUser(String nick){
????//??????Χ???nick???飬?????????????????????????????????null
????String[] exsitUserNicks= {Nick.b2bNick.value?? Nick.subB2BNick.value};
????if(ArrayUtil.contains(exsitUserNicks?? nick)){
????//????nick?????????????
????ResultDO callback = uicReadServiceClient.getUserInfoByNick(nick);
????Assert.assertTrue(callback.getErrMsg()?? callback.isSuccess());
????Assert.assertNotNull(callback.getModule());
????return callback.getModule();
????}
????return null;
????}
??????????“Nick.b2bNick.value”??Nick???????????????????????????
????public enum Nick{
????blankNick("")??
????nullNick(null)??
????notExsitNick("1233211")??
????tbNick("leizang_test")??
????b2bNick("leizang_btob_1")??
????subB2BNick("leizang_btob_1:subnick01");
????String value;
????Nick(String value){
????this.value= value;
????}
????}
???????????????????д???·?????

 

?м???? ?????????? ??д????????????????
user nick getExpectUser(nick)
ruleCode user?? wwLimitData getExpectRuleCode(user?? wwLimitData)
isFrozen user?? wwLimitData getExpectIsFrozen(user?? wwLimitData)
suspended user?? isFrozen getExpectSuspended(user?? isFrozen)
punishData user?? punishData?? suspended getExpectPunishData(user?? punishData?? suspended)
mmpData user?? mmpData getExpectMmpData(user?? mmpData)

??????????????????????????????????????????????????????resultMap??????????????
????public void verify(String nick?? String wwLimitData??
????String punishData?? String mmpData?? Map resultMap){
????BaseUserDO expectUser= getExpectUser(nick);
????String expectRuleCode= getExpectRuleCode(expectUser?? wwLimitData);
????boolean expectIsFrozen= getExpectIsFrozen(expectUser?? wwLimitData);
????String expectSuspended= getExpectSuspended(expectUser?? expectIsFrozen);
????String expectPunishData= getExpectPunishData(expectUser?? punishData?? expectSuspended);
????String expectMmpData= getExpectMmpData(expectUser?? mmpData);
????Assert.assertEquals("user"?? expectUser?? resultMap.get("user"));
????Assert.assertEquals("ruleCode"?? expectRuleCode?? resultMap.get("ruleCode"));
????Assert.assertEquals("suspended"?? expectSuspended?? resultMap.get("suspended"));
????Assert.assertEquals("punishData"?? expectPunishData?? resultMap.get("punishData"));
????Assert.assertEquals("mmpData"?? expectMmpData?? resultMap.get("mmpData"));
????}
????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????μ?????1080???????????????С??????????????????????????????????????????????????????????汬?????????????????????????棬??????????????1080????????????????????????????????????????!?e?????濪???????????á?
????3??????????
??????????????????????????????????????

 

?м???? ?????????? ????????????
user nick nick
ruleCode user?? wwLimitData nick?? wwLimitData
isFrozen user?? wwLimitData nick?? wwLimitData
suspended user?? isFrozen nick?? wwLimitData
punishData user?? punishData?? suspended nick?? punishData?? wwLimitData
mmpData user?? mmpData nick?? mmpData

?????????м?????????isFrozen?????????????????“???????”??“??????”???????????

 

??????? ????????
user?? ruleCode?? suspended?? punishData nick?? wwLimitData?? punishData
mmpData nick?? mmpData

???????????????runCode??suspended???????mmpData???????mmpData???????punishData??wwLimitData?????????????????????????????????6*6*5*2*3= 1080?????????6*6*2+ 6*3= 89????????????????г?????
??????????????????????