@Test
    public void testFailingProcessing() {
        // Set up service programmatically
        DocprocService service = new DocprocService("failing");
        DocumentProcessor first = new SettingValueProcessor("done 1");
        DocumentProcessor second = new FailingProcessor("done 2");
        DocumentProcessor third = new SettingValueProcessor("done 3");
        service.setCallStack(new CallStack().addLast(first).addLast(second).addLast(third));
        service.setInService(true);

        assertProcessingWorks(service);
    }
Tests chaining of some processors, and execution of the processors
on some documents
docproc/src/test/java/com/yahoo/docproc/FailingDocumentProcessingTestCase.java