Code example for UnsupportedCallbackException

Methods: getCallback, getMessage

0
            "Check new message", 
            "Check new message Check new message Check new message Check new message Check new message" }; 
 
 
    /** 
     * @tests javax.security.auth.callback.UnsupportedCallbackExceptionTest#UnsupportedCallbackException(Callback callback) 
     * @tests javax.security.auth.callback.UnsupportedCallbackExceptionTest#getCallback()  
     * Assertion: constructs with null parameter. 
     */ 
    @TestTargets({ 
        @TestTargetNew( 
            level = TestLevel.PARTIAL_COMPLETE, 
            notes = "", 
            method = "UnsupportedCallbackException", 
            args = {Callback.class}
        ), 
        @TestTargetNew( 
            level = TestLevel.PARTIAL_COMPLETE, 
            notes = "", 
            method = "getCallback", 
            args = {}