Code example for CollectionCertStoreParameters

Methods: toString

0
     */ 
    public final void testToString02() { 
        Vector certificates = new Vector();
        certificates.add(new MyCertificate("TEST", new byte[] {(byte)4}));
        CollectionCertStoreParameters cp =
            new CollectionCertStoreParameters(certificates);
 
        assertNotNull(cp.toString());
    } 
 
    /** 
     * Test #1 for <code>getCollection()</code> method<br> 
     * Assertion: returns the Collection (never null) 
     */ 
    public final void testGetCollection01() { 
        CollectionCertStoreParameters cp = new CollectionCertStoreParameters();
        assertNotNull(cp.getCollection());
    } 
 
    /** 
Contextual code suggestions in your IDE  Get Codota for Java