public static void main(String[] args) {
Security.insertProviderAt(Conscrypt.newProviderBuilder().provideTrustManager().build(), 1);
System.out.println(
"Running tests using " + Platform.get() + " " + System.getProperty("java.vm.version"));
List<String> urls =
Arrays.asList("https://enabled.tls13.com", "https://www.howsmyssl.com/a/check",
"https://tls13.cloudflare.com", "https://www.allizom.org/robots.txt",
"https://tls13.crypto.mozilla.org/", "https://tls.ctf.network/robots.txt",
"https://rustls.jbp.io/", "https://h2o.examp1e.net", "https://mew.org/",
"https://tls13.baishancloud.com/", "https://tls13.akamai.io/", "https://swifttls.org/",
"https://www.googleapis.com/robots.txt", "https://graph.facebook.com/robots.txt",
"https://api.twitter.com/robots.txt", "https://connect.squareup.com/robots.txt");
System.out.println("TLS1.3+TLS1.2");
testClient(urls, buildClient(ConnectionSpec.RESTRICTED_TLS));
System.out.println("\nTLS1.3 only");
testClient(urls, buildClient(TLS_13));
System.out.println("\nTLS1.3 then fallback");
testClient(urls, buildClient(TLS_13, TLS_12));
}