monitor = getProgressMonitor();
connectionParameter = new ConnectionParameter( null, "localhost", ldapService.getIpPort(),
EncryptionMethod.NONE, AuthenticationMethod.SIMPLE, "uid=admin,ou=system", "secret", null, true, null );
connection = new Connection( connectionParameter );
connectionWrapper = connection.getJNDIConnectionWrapper();
connectionWrapper.connect( monitor );
connectionWrapper.bind( monitor );
assertTrue( connectionWrapper.isConnected() );
assertNull( monitor.getException() );
SearchControls searchControls = new SearchControls();