public void testOneFailure() throws Exception {
final MockHttpServletRequest request = new MockHttpServletRequest();
request.setMethod("POST");
request.setRemoteAddr("111.111.111.111");
MockRequestContext context = new MockRequestContext();
context.setCurrentEvent(new Event("", "error"));
request.setAttribute("flowRequestContext", context);
this.adapter.postHandle(request, new MockHttpServletResponse(), new Object(), null);
assert 1 == this.adapter.findCount(request, null, 60);
assertTrue(this.adapter.preHandle(request, new MockHttpServletResponse(), new Object()));