protected <T> T executeInsideRequest(WhatToDo<T> execution) {
final HttpSessionMock session = new HttpSessionMock(context, "session" + ++counter);
final MutableRequest request = new HttpServletRequestMock(session,
mock(MutableRequest.class, "request" + counter));
MutableResponse response = mock(MutableResponse.class, "response" + counter);
RequestInfo webRequest = new RequestInfo(context, null, request, response);
return execution.execute(webRequest, counter);
}