39404142434445464748495051
session.getAttributeNames(); control.setReturnValue(newEnumeration()); replayControls(); WebSession ws = new PortletWebSession(session); List l = ws.getAttributeNames(); checkList(l); verifyControls(); }
6061626364656667686970
session.getAttribute("attr"); control.setReturnValue(attribute); replayControls(); WebSession ws = new PortletWebSession(session); assertSame(attribute, ws.getAttribute("attr")); verifyControls(); }
7879808182838485868788
session.setAttribute("name", attribute); replayControls(); WebSession ws = new PortletWebSession(session); ws.setAttribute("name", attribute); verifyControls(); }
96979899100101102103104105106
session.getId(); control.setReturnValue("abc"); replayControls(); WebSession ws = new PortletWebSession(session); assertEquals("abc", ws.getId()); verifyControls(); }
38394041424344454647484950
session.getAttributeNames(); setReturnValue(session, newEnumeration()); replayControls(); WebSession ws = new PortletWebSession(session); List l = ws.getAttributeNames(); checkList(l); verifyControls(); }
6364656667686970717273
session.getAttribute("attr"); setReturnValue(session, attribute); replayControls(); WebSession ws = new PortletWebSession(session); assertSame(attribute, ws.getAttribute("attr")); verifyControls(); }
8081828384858687888990
session.getId(); setReturnValue(session, "abc"); replayControls(); WebSession ws = new PortletWebSession(session); assertEquals("abc", ws.getId()); verifyControls(); }
111112113114115116117118119120121
session.invalidate(); replayControls(); WebSession ws = new PortletWebSession(session); ws.invalidate(); verifyControls(); }