@Test
public void testModifyReplaceNonExistingIndexAttribute() throws Exception
{
LdapDN dn = new LdapDN( "cn=Tim B,ou=Sales,o=Good Times Co." );
dn.normalize( attributeRegistry.getNormalizerMapping() );
DefaultServerEntry entry = new DefaultServerEntry( registries, dn );
entry.add( "objectClass", "top", "person", "organizationalPerson" );
entry.add( "cn", "Tim B");
entry.add( "entryCSN", new CsnFactory( 1 ).newInstance().toString() );
entry.add( "entryUUID", SchemaUtils.uuidToBytes( UUID.randomUUID() ) );