diff --git a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/request/WxPayFaceAuthInfoRequest.java b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/request/WxPayFaceAuthInfoRequest.java index e5bb4f525..1e81b0ad4 100644 --- a/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/request/WxPayFaceAuthInfoRequest.java +++ b/weixin-java-pay/src/main/java/com/github/binarywang/wxpay/bean/request/WxPayFaceAuthInfoRequest.java @@ -2,6 +2,7 @@ package com.github.binarywang.wxpay.bean.request; import com.thoughtworks.xstream.annotations.XStreamAlias; import lombok.*; +import lombok.experimental.Accessors; import me.chanjar.weixin.common.annotation.Required; import java.util.Map; @@ -16,12 +17,14 @@ import java.util.Map; * @author XxPay */ @Data +@Accessors(chain = true) @EqualsAndHashCode(callSuper = true) @Builder(builderMethodName = "newBuilder") @NoArgsConstructor @AllArgsConstructor @XStreamAlias("xml") public class WxPayFaceAuthInfoRequest extends BaseWxPayRequest { + private static final long serialVersionUID = -2909189635374300870L; /** *
diff --git a/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImplTest.java b/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImplTest.java
index dfb4ffb8c..6350828f6 100644
--- a/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImplTest.java
+++ b/weixin-java-pay/src/test/java/com/github/binarywang/wxpay/service/impl/BaseWxPayServiceImplTest.java
@@ -20,8 +20,6 @@ import com.github.binarywang.wxpay.testbase.XmlWxPayConfig;
 import com.github.binarywang.wxpay.util.XmlConfig;
 import com.google.inject.Inject;
 import lombok.extern.slf4j.Slf4j;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 import org.testng.annotations.DataProvider;
 import org.testng.annotations.Guice;
 import org.testng.annotations.Test;
@@ -619,10 +617,60 @@ public class BaseWxPayServiceImplTest {
   }
 
   @Test
-  public void testGetWxPayFaceAuthInfo() {
+  public void testGetWxPayFaceAuthInfo() throws WxPayException {
+    XmlConfig.fastMode = true;
+    final WxPayFaceAuthInfoRequest request = new WxPayFaceAuthInfoRequest()
+      .setStoreId("1").setRawdata("111").setNow("111").setVersion("111").setStoreName("2222").setDeviceId("111");
+    request.setSignType("MD5");
+    this.payService.getWxPayFaceAuthInfo(request);
   }
 
   @Test
   public void testFacepay() {
   }
+
+  @Test
+  public void testGetEntPayService() {
+    // no need to test
+  }
+
+  @Test
+  public void testGetProfitSharingService() {
+    // no need to test
+  }
+
+  @Test
+  public void testGetRedpackService() {
+    // no need to test
+  }
+
+  @Test
+  public void testSetEntPayService() {
+    // no need to test
+  }
+
+  @Test
+  public void testGetPayBaseUrl() {
+    // no need to test
+  }
+
+  @Test
+  public void testParseScanPayNotifyResult() {
+  }
+
+  @Test
+  public void testSendMiniProgramRedpack() {
+  }
+
+  @Test
+  public void testSendRedpack() {
+  }
+
+  @Test
+  public void testQueryRedpack() {
+  }
+
+  @Test
+  public void testTestQueryRedpack() {
+  }
 }