SearchResultEntry searchResultEntry = ldapMessageContainer.getMessage();
assertEquals( 1, searchResultEntry.getMessageId() );
assertEquals( "ou=contacts,dc=iktek,dc=com", searchResultEntry.getObjectName().toString() );
Entry entry = searchResultEntry.getEntry();
assertEquals( 2, entry.size() );
Attribute attribute = entry.get( "objectclass" );
assertEquals( Strings.toLowerCase( "objectClass" ), Strings.toLowerCase( attribute.getUpId() ) );
assertEquals( 0, attribute.size() );
attribute = entry.get( "objectclazz" );
assertEquals( Strings.toLowerCase( "objectClazz" ), Strings.toLowerCase( attribute.getUpId() ) );
assertEquals( 0, attribute.size() );
// Check the encoding
try