File tree Expand file tree Collapse file tree
main/java/com/github/binarywang/wxpay/config
test/java/com/github/binarywang/wxpay/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66import com .github .binarywang .wxpay .v3 .util .PemUtils ;
77import jodd .util .ResourcesUtil ;
88import lombok .Data ;
9+ import lombok .EqualsAndHashCode ;
910import lombok .SneakyThrows ;
1011import org .apache .commons .io .IOUtils ;
1112import org .apache .commons .lang3 .RegExUtils ;
2829 * @author Binary Wang (https://github.com/binarywang)
2930 */
3031@ Data
32+ @ EqualsAndHashCode (exclude = "verifier" )
3133public class WxPayConfig {
3234 private static final String DEFAULT_PAY_BASE_URL = "https://api.mch.weixin.qq.com" ;
3335 private static final String PROBLEM_MSG = "证书文件【%s】有问题,请核实!" ;
Original file line number Diff line number Diff line change @@ -31,4 +31,10 @@ public void testInitSSLContext() throws Exception {
3131 this .testInitSSLContext_classpath ();
3232 this .testInitSSLContext_http ();
3333 }
34+
35+ @ Test
36+ @ SuppressWarnings ("ResultOfMethodCallIgnored" )
37+ public void testHashCode () {
38+ payConfig .hashCode ();
39+ }
3440}
You can’t perform that action at this time.
0 commit comments