@Test(timeout = 5000)
public void testCreateSSLServerSocketWithPort() throws Exception {

    setCustomCipherSuites();
    int port = PortAssignment.unique();
    SSLServerSocket sslServerSocket = x509Util.createSSLServerSocket(port);
    Assert.assertEquals(sslServerSocket.getLocalPort(), port);
    Assert.assertArrayEquals(customCipherSuites, sslServerSocket.getEnabledCipherSuites());
    Assert.assertTrue(sslServerSocket.getNeedClientAuth());
}