Dn childDn2 = new Dn( schemaManager, "dc=child2,ou=test,ou=system" );
Rdn newRdn = new Rdn( SchemaConstants.DC_AT + "=" + "movedChild1" );
MoveAndRenameOperationContext moveAndRenameOpCtx = new MoveAndRenameOperationContext( mockSession, childDn1,
childDn2, newRdn, true );
partition.moveAndRename( moveAndRenameOpCtx );
partition = reloadPartition();
childDn1 = new Dn( schemaManager, "dc=movedChild1,dc=child2,ou=test,ou=system" );