SSLKeyExceptionTest.java 文件源码

java
阅读 29 收藏 0 点赞 0 评论 0

项目:In-the-Box-Fork 作者:
/**
 * 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());
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号