This commit is contained in:
Looly
2024-08-13 15:22:26 +08:00
parent 7882b3b485
commit a38d7b47ab
2 changed files with 18 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
package org.dromara.hutool.core.net.ssl;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import javax.net.ssl.SSLContext;
public class SSLContextUtilTest {
@Test
void createTrustAnySSLContextTest() {
final SSLContext trustAnySSLContext = SSLContextUtil.createTrustAnySSLContext();
Assertions.assertNotNull(trustAnySSLContext);
}
}