assertTrue(FlowControllerForErrorTest.abortedDocuments.isEmpty());
assertTrue(FlowControllerForErrorTest.failedAEs.isEmpty());
//configure AE to continue after error
ae.setConfigParameterValue("ContinueOnFailure", Boolean.TRUE);
ae.reconfigure();
cas.reset();
cas.setDocumentText("ERROR");
UIMAFramework.getLogger().setLevel(Level.OFF); // Suppress logging of expected exception
ae.process(cas); //should not throw exception now
UIMAFramework.getLogger().setLevel(Level.INFO); // Restore to apparent default of INFO