private void loadKey(String privateKeyPath) {
        SslContextBuilder.forServer(getClass().getResourceAsStream("/testing/core/ServerBuilderTest/cert.pem"),
                                    getClass().getResourceAsStream(privateKeyPath),
                                    null);
    }
Tests if everything works even if Bouncy Castle is loaded already.
core/src/test/java/com/linecorp/armeria/internal/common/util/MinifiedBouncyCastleProviderTest.java