@Test(expected = IllegalArgumentException.class) public void checkServerTrusted_nullNonNull() throws Exception { instance.checkServerTrusted(null, "RSA"); }
@Test(expected = IllegalArgumentException.class) public void checkServerTrusted1_nullNonNull() throws Exception { instance.checkServerTrusted(null, "RSA", new Socket()); }
@Test(expected = IllegalArgumentException.class) public void checkServerTrusted2_nullNonNull() throws Exception { instance.checkServerTrusted(null, "RSA", (SSLEngine)null); }
@Test public void checkServerTrusted1() throws Exception { instance.checkServerTrusted(new X509Certificate[]{cert.certificate()}, "RSA", new Socket()); }
@Test(expected = IllegalArgumentException.class) public void checkServerTrusted1_nonNullNull() throws Exception { instance.checkServerTrusted(new X509Certificate[]{cert.certificate()}, null, new Socket()); }
@Test(expected = IllegalArgumentException.class) public void checkServerTrusted1_nonNullEmpty() throws Exception { instance.checkServerTrusted(new X509Certificate[]{cert.certificate()}, "", new Socket()); }
@Test(expected = IllegalArgumentException.class) public void checkServerTrusted_nonNullEmpty() throws Exception { instance.checkServerTrusted(new X509Certificate[]{cert.certificate()}, ""); }
@Test(expected = IllegalArgumentException.class) public void checkServerTrusted2_nonNullNull() throws Exception { instance.checkServerTrusted(new X509Certificate[]{cert.certificate()}, null, (SSLEngine)null); }
@Test(expected = IllegalArgumentException.class) public void checkServerTrusted_nonNullNull() throws Exception { instance.checkServerTrusted(new X509Certificate[]{cert.certificate()}, null); }
@Test public void checkServerTrusted2() throws Exception { instance.checkServerTrusted(new X509Certificate[]{cert.certificate()}, "RSA", (SSLEngine)null); }
@Test public void checkServerTrusted() throws Exception { instance.checkServerTrusted(new X509Certificate[]{cert.certificate()}, "RSA"); }
@Test(expected = IllegalArgumentException.class) public void checkServerTrusted2_nonNullEmpty() throws Exception { instance.checkServerTrusted(new X509Certificate[]{cert.certificate()}, "", (SSLEngine)null); }