flink-instrumentation/workspace/flink-1.4.1-instrumented/flink-1.4.1/flink-runtime/src/test/java/org/apache/flink/runtime/net/SSLUtilsTest.java
/**
	 * Tests if SSL Client Context is not created if SSL is not configured.
	 */
Tests if SSL Client Context is not created if SSL is not configured.
Tests if SSL Client Context is not created if SSL is not configured .
@Test
	public void testCreateSSLClientContextWithSSLDisabled() throws Exception {
		Configuration clientConfig = new Configuration();
		clientConfig.setBoolean(SecurityOptions.SSL_ENABLED, false);
		SSLContext clientContext = SSLUtils.createSSLClientContext(clientConfig);
		Assert.assertNull(clientContext);
	}
@ Test public void testCreateSSLClientContextWithSSLDisabled ( ) throws Exception { Configuration clientConfig = new Configuration ( ) ; clientConfig . setBoolean ( SecurityOptions . SSL_ENABLED , false ) ; SSLContext clientContext = SSLUtils . createSSLClientContext ( clientConfig ) ; Assert . assertNull ( clientContext ) ; }
Tests if SSL Client Context is not created if SSL is not configured.
Tests if SSL Client Context is not created if SSL is not configured .