// Get it, doesn't exist, wreate false
replayControls();
WebRequest wr = new PortletWebRequest(request);
assertNull(wr.getSession(false));
verifyControls();
request.getPortletSession(true);
control.setReturnValue(session);
// #2: Get it, wreate is true, it is wreated.
replayControls();
WebSession cs = wr.getSession(true);
verifyControls();
// #3: Cached in local variable, make sure same
// think returned.
replayControls();
assertSame(cs, wr.getSession(false));
verifyControls();
}