@Override
        public Progress process(Processing processing) {
            for (DocumentOperation op : processing.getDocumentOperations()) {
                if (processing.getVariable("processor1") == null) {
                    processing.setVariable("processor1", "called");
                    return Progress.LATER;
                }
                processing.setVariable("processor1", "calledTwice");
            }
            return Progress.DONE;
        }
Asserts that a document processing service works
docproc/src/test/java/com/yahoo/docproc/DocumentProcessingAbstractTestCase.java