expectedException.expect(new ExceptionCauseMatcher(instanceOf(SSLHandshakeException.class)));
IHttpClient client = new UrlConnectionHttpClientBuilder()
.setAcceptMediaType(ACCEPT_APPLICATION_JSON)
.setUserAgent("com.openshift.client.test")
.setSSLCertificateCallback(new ISSLCertificateCallback() {
@Override
public boolean allowHostname(String hostname, SSLSession session) {
return true;
}