com.mockrunner.mock.web.MockSessionContext Maven / Gradle / Ivy
package com.mockrunner.mock.web;
import java.util.Enumeration;
import java.util.Vector;
import javax.servlet.http.HttpSession;
import javax.servlet.http.HttpSessionContext;
/**
* Mock implementation of HttpSessionContext
.
*/
public class MockSessionContext implements HttpSessionContext
{
public Enumeration getIds()
{
return new Vector().elements();
}
public HttpSession getSession(String arg0)
{
return null;
}
}