Entry entry = searchResultEntry.getEntry();
assertEquals( 1, entry.size() );
Iterator<EntryAttribute> attributeIterator = entry.iterator();
EntryAttribute attribute = attributeIterator.next();
assertEquals( "cn", attribute.getUpId() );
assertEquals( 1, attribute.size() );
Iterator<Value<?>> valueIterator = attribute.iterator();
assertTrue( valueIterator.hasNext() );
Value<?> value = valueIterator.next();
String expected = new String( new byte[]
{ 'E', 'm', 'm', 'a', 'n', 'u', 'e', 'l', ' ', 'L', ( byte ) 0xc3, ( byte ) 0xa9, 'c', 'h', 'a', 'r', 'n',