### Question:
SSLContextUtil { public static SSLContext createXroadSSLContext() throws KeyManagementException, NoSuchAlgorithmException { SSLContext ctx = SSLContext.getInstance(CryptoUtils.SSL_PROTOCOL); ctx.init(new KeyManager[] {AuthKeyManager.getInstance()}, new TrustManager[] {new AuthTrustManager()}, new SecureRandom()); return ctx; } private  SSLContextUtil(); static SSLContext createXroadSSLContext();  }### Answer:
@Test public void xroadAcceptedCipherSuites() throws NoSuchAlgorithmException, KeyManagementException { String[] supported = SSLContextUtil.createXroadSSLContext().createSSLEngine().getSupportedCipherSuites(); String[] accepted = SystemProperties.getXroadTLSCipherSuites(); assertThat(Arrays.asList(supported), hasItems(accepted)); }