cas.reset();
cas.setDocumentText("Line one\nLine two\nLine three");
iter = ae.processAndOutputNewCASes(cas);
assertTrue(iter.hasNext());
outCas = iter.next(); // first call OK
outCas.release();
assertTrue(FlowControllerForErrorTest.abortedDocuments.isEmpty());
assertTrue(FlowControllerForErrorTest.failedAEs.isEmpty());
//next call should not have aborted, but FC should have been notified of the failiure,
// and no CAS should come back