{
de.printStackTrace();
fail( de.getMessage() );
}
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() ) );