{
WebRequest request = newRequest();
WebResponse response = newResponse();
WebRequestServicer servicer = newServicer();
ApplicationLifecycle lifecycle = newLifecycle();
WebSession session = newSession();
servicer.service(request, response);
trainGetDiscardSession(lifecycle, true);
trainGetSession(request, session);
session.invalidate();
setThrowable(session, new IllegalStateException());
replayControls();
DiscardSessionFilter filter = new DiscardSessionFilter();