@Test
    public void testSimpleProcessing() {
        // Set up service programmatically
        DocprocService service = new DocprocService("simple");
        DocumentProcessor first = new TestDocumentProcessor1();
        DocumentProcessor second = new TestDocumentProcessor2();
        DocumentProcessor third = new TestDocumentProcessor3();
        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/SimpleDocumentProcessingTestCase.java