@Override
        public void process(DocumentUpdate upd) {
            FieldUpdate bodyFieldUpdate = upd.getFieldUpdate("body");
            AssignValueUpdate au = (AssignValueUpdate) bodyFieldUpdate.getValueUpdate(0);
            FieldUpdate titleUpd = FieldUpdate.createAssign(upd.getType().getField("title"), new StringFieldValue(extractTitle(((StringFieldValue) au.getValue()).getString())));
            upd.addFieldUpdate(titleUpd);
        }
Simple test case for testing that processing of both documents and
document updates works.

@author Einar M R Rosenvinge
docproc/src/test/java/com/yahoo/docproc/ProcessingUpdateTestCase.java