DocOp inverted2 = DocOpInverter.invert(docOpCopy);
validate(checkAuto, inverted2);
validate(autoDoc, inverted2);
doc.consume(inverted2);
assertEquals(originalXml, DocOpUtil.toXmlString(doc.asOperation()));
checkDoc.consume(inverted2);
// GENERATE NINDO
nindo = RandomNindoGenerator.generate(random, params,
DocumentSchema.NO_SCHEMA_CONSTRAINTS, doc);
docAsOp = doc.asOperation();