@Override
        public Progress process(Processing processing) {
            super.process(processing);
            for (DocumentOperation op : processing.getDocumentOperations()) {
                if (op.getId().toString().equals("id:woexception:test::2")) {
                    return DocumentProcessor.Progress.FAILED;
                }
            }
            return DocumentProcessor.Progress.DONE;
        }
Tests chaining of some processors, and execution of the processors
on some documents
docproc/src/test/java/com/yahoo/docproc/FailingDocumentProcessingWithoutExceptionTestCase.java