return getContext(contextName, null, null, null, false, false);
}
private Context getContext(String contextPath, String cookiePath, String cookieComment, String cookieDomain,
boolean httpOnly, boolean secure) {
MockEngine engine = new MockEngine();
MockHost host = new MockHost();
host.setName("localhost");
engine.addChild(host);
StandardContext container = new StandardContext();
container.setPath(contextPath);
host.addChild(container);
SessionCookie cookie = container.getSessionCookie();