Code example for PolicyQualifierInfo

Methods: getPolicyQualifier

0
        // check returned array 
        assertTrue(Arrays.equals(encoding, encodingRet));
    } 
 
    /** 
     * Test #2 for <code>getEncoded()</code> method 
     * Assertion: a copy is returned each time 
     *  
     * @throws IOException 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getEncoded", 
        args = {} 
    ) 
    public final void testGetEncoded02() throws IOException { 
        // get valid encoding 
        byte[] encoding = getDerEncoding();
        byte[] encodingCopy = encoding.clone();
        // pass valid array