mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-31 02:28:25 +08:00
使用lombok的@Data注解简化common模块的所有bean类
This commit is contained in:
@ -8,7 +8,6 @@ import org.testng.annotations.*;
|
||||
public class WxErrorTest {
|
||||
|
||||
public void testFromJson() {
|
||||
|
||||
String json = "{ \"errcode\": 40003, \"errmsg\": \"invalid openid\" }";
|
||||
WxError wxError = WxError.fromJson(json);
|
||||
Assert.assertTrue(wxError.getErrorCode() == 40003);
|
||||
|
||||
Reference in New Issue
Block a user