String location = "cayenne-org.apache.cayenne.configuration.rop.server.test-config.xml";
MockServletConfig config = new MockServletConfig();
config.setServletName("abc");
config.setInitParameter("configuration-location", location);
MockServletContext context = new MockServletContext();
config.setServletContext(context);
ROPHessianServlet servlet = new ROPHessianServlet();
servlet.init(config);