* This test ensures that HttpExceptions work correctly when they are delayed by a trigger.
*/
@Test
public void testDelayedHttpException() throws Exception {
NHttpRequestHandler requestHandler = new NHttpRequestHandler() {
public ConsumingNHttpEntity entityRequest(
final HttpEntityEnclosingRequest request,
final HttpContext context) {
return null;