Code example for CollectionCertStoreParameters

Methods: toString

0
     * Test #1 for <code>toString()</code> method<br> 
     * Assertion: returns the formatted string describing parameters 
     */ 
    public final void testToString01() { 
        CollectionCertStoreParameters cp =
            new CollectionCertStoreParameters();
        String s = cp.toString();
        assertNotNull(s);
    } 
 
    /** 
     * Test #2 for <code>toString()</code> method<br> 
     * Assertion: returns the formatted string describing parameters 
     */ 
    public final void testToString02() { 
        Vector certificates = new Vector();
        certificates.add(new MyCertificate("TEST", new byte[] {(byte)4}));
        CollectionCertStoreParameters cp =
            new CollectionCertStoreParameters(certificates);
 
Contextual code suggestions in your IDE  Get Codota for Java