@Override
  protected WebMockObjectFactory createWebMockObjectFactory() {
    // create special SessionCookieConfig aware factory
    return new MyWebMockObjectFactory();
  }
Extend the BasicServletTestCaseAdapter with support for a
SessionCookieConfig in the ServletContext.
extensions/geode-modules-session/src/integrationTest/java/org/apache/geode/modules/session/internal/filter/SessionCookieConfigServletTestCaseAdapter.java