01: package com.mockrunner.mock.web;
02:
03: import java.util.Enumeration;
04: import java.util.Vector;
05:
06: import javax.servlet.http.HttpSession;
07: import javax.servlet.http.HttpSessionContext;
08:
09: /**
10: * Mock implementation of <code>HttpSessionContext</code>.
11: */
12: public class MockSessionContext implements HttpSessionContext {
13: public Enumeration getIds() {
14: return new Vector().elements();
15: }
16:
17: public HttpSession getSession(String arg0) {
18: return null;
19: }
20: }
|