public class TestSessionScopeManager extends HiveMindTestCase
{
private WebRequest newRequest(boolean create, WebSession session)
{
MockControl control = newControl(WebRequest.class);
WebRequest request = (WebRequest) control.getMock();
request.getSession(create);
control.setReturnValue(session);
return request;
}