Code example for CodeSigner

Methods: hashCode

0
        assertTrue(one.equals(one));
        assertTrue(one.equals(two));
        assertTrue(two.equals(one));
        assertFalse(one.equals(three));
        assertFalse(three.equals(one));
        assertTrue(three.equals(three));
        // different CertPaths 
        assertFalse( three.equals(four));
        // special cases 
        assertFalse( one.equals(null) );
        assertFalse( one.equals(new Object()) );
    } 
 
    /** 
     * Tests CodeSigner.getSignerCertPath() 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "", 
        method = "getSignerCertPath", 
        args = {}