Test for SSLPeerUnverifiedException(String)
constructor Assertion:
constructs SSLPeerUnverifiedException with detail message msg. Parameter
msg
is not null.
SSLPeerUnverifiedException sslE;
for (int i = 0; i < msgs.length; i++) {
sslE = new SSLPeerUnverifiedException(msgs[i]);
assertEquals("getMessage() must return: ".concat(msgs[i]), sslE.getMessage(), msgs[i]);
assertNull("getCause() must return null", sslE.getCause());
}