Collection<Modification> modifications = modifyRequest.getModifications();
assertEquals( 1, modifications.size() );
Modification modification = modifications.iterator().next();
Attribute attribute = modification.getAttribute();
assertEquals( ModificationOperation.ADD_ATTRIBUTE, modification.getOperation() );
assertEquals( "directreport", attribute.getId() );
String expected = new String( new byte[]
{ 'c', 'n', '=', 'E', 'm', 'm', 'a', 'n', 'u', 'e', 'l', ' ', 'L', ( byte ) 0xc3, ( byte ) 0xa9, 'c', 'h',
'a', 'r', 'n', 'y', ',', ' ', 'o', 'u', '=', 'p', 'e', 'o', 'p', 'l', 'e', ',', ' ', 'd', 'c', '=',
'e', 'x', 'a', 'm', 'p', 'l', 'e', ',', ' ', 'd', 'c', '=', 'c', 'o', 'm' }, "UTF-8" );
assertEquals( expected, attribute.get().getString() );
}