Code example for LDAPCertStoreParameters

0
     * Test #1 for <code>LDAPCertStoreParameters()</code> constructor<br> 
     * Assertion: Creates an instance of <code>LDAPCertStoreParameters</code> 
     * with the default parameter values (server name "localhost", port 389) 
     */ 
    public final void testLDAPCertStoreParameters01() { 
        CertStoreParameters cp = new LDAPCertStoreParameters();
        assertTrue("isLDAPCertStoreParameters",
                cp instanceof LDAPCertStoreParameters);
    } 
 
    /** 
     * Test #2 for <code>LDAPCertStoreParameters()</code> constructor<br> 
     * Assertion: Creates an instance of <code>LDAPCertStoreParameters</code> 
     * with the default parameter values (server name "localhost", port 389) 
     */ 
    public final void testLDAPCertStoreParameters02() { 
        LDAPCertStoreParameters cp = new LDAPCertStoreParameters();
        assertEquals("host", "localhost", cp.getServerName());
        assertEquals("port", 389, cp.getPort());
    } 
Connect your IDE to all the code out there  Get Codota for Java