//
WebApp webApp = registry.getWebApp("/test-native-skip-with-gateinservlet-app");
NormalCallback cb1 = new NormalCallback(appContext, webApp.getClassLoader());
Exception ex = new Exception();
ExceptionCallback cb2 = new ExceptionCallback(appContext, ex, ex);
Error err = new Error();
ExceptionCallback cb3 = new ExceptionCallback(appContext, err, err);
RuntimeException rex = new RuntimeException();
ExceptionCallback cb4 = new ExceptionCallback(appContext, rex, rex);
IOException ioe = new IOException();
ExceptionCallback cb5 = new ExceptionCallback(appContext, ioe, ioe);
//
ServletContextDispatcher dispatcher = new ServletContextDispatcher(req, resp, container);
DriverResponse response = cb1.test(null, dispatcher);
response = cb2.test(response, dispatcher);
response = cb3.test(response, dispatcher);
response = cb4.test(response, dispatcher);
response = cb5.test(response, dispatcher);
return new UndeployResponse("test-native-skip-with-gateinservlet-app.war");
}
else if (getRequestCount() == 3)