DocOpUtil.toXmlString(copy.asOperation()));
DocOp inverted = DocOpInverter.invert(docOp);
v = new ViolationCollector();
if (!DocOpValidator.validate(v, DocumentSchema.NO_SCHEMA_CONSTRAINTS,
Automatons.fromReadable(copy), inverted).isValid()) {
v.printDescriptions(System.err);
fail("Invalid operation");
}
copy.consume(inverted);
assertEquals(initial, DocOpUtil.toXmlString(copy.asOperation()));
}