001 package com.mockrunner.mock.web; 002 003 import java.util.Enumeration; 004 import java.util.Vector; 005 006 import javax.servlet.http.HttpSession; 007 import javax.servlet.http.HttpSessionContext; 008 009 /** 010 * Mock implementation of <code>HttpSessionContext</code>. 011 */ 012 public class MockSessionContext implements HttpSessionContext 013 { 014 public Enumeration getIds() 015 { 016 return new Vector().elements(); 017 } 018 019 public HttpSession getSession(String arg0) 020 { 021 return null; 022 } 023 }