//System.out.println( "------------------Create connection" + i + "-------------" );
LdapConnection connection = new LdapConnection( "localhost", ldapServer.getPort() );
//System.out.println( "------------------Bind" + i + "-------------" );
// Try with no parameters
BindResponse bindResponse = connection.bind();
assertNotNull( bindResponse );
assertNotNull( bindResponse.getLdapResult() );
assertEquals( ResultCodeEnum.SUCCESS, bindResponse.getLdapResult().getResultCode() );
assertEquals( 1, bindResponse.getMessageId() );