/**
* Test for <code>SSLPeerUnverifiedException(String)</code> constructor Assertion:
* constructs SSLPeerUnverifiedException with detail message msg. Parameter
* <code>msg</code> is null.
*/
@TestTargetNew(
level = TestLevel.PARTIAL_COMPLETE,
notes = "",
method = "SSLKeyException",
args = {java.lang.String.class}
)
public void test_Constructor02() {
String msg = null;
SSLKeyException skE = new SSLKeyException(msg);
assertNull("getMessage() must return null.", skE.getMessage());
assertNull("getCause() must return null", skE.getCause());
}
SSLKeyExceptionTest.java 文件源码
java
阅读 29
收藏 0
点赞 0
评论 0
项目:In-the-Box-Fork
作者:
评论列表
文章目录