{
TlsConfiguration configuration = new TlsConfiguration(TlsConfiguration.DEFAULT_KEYSTORE);
configuration.setKeyPassword("mulepassword");
configuration.setKeyStorePassword("mulepassword");
configuration.setKeyStore("clientKeystore");
configuration.initialise(false, TlsConfiguration.JSSE_NAMESPACE);
SSLSocketFactory socketFactory = configuration.getSocketFactory();
assertTrue("socket is useless", socketFactory.getSupportedCipherSuites().length > 0);
}
@Test