configControl.setReturnValue("wilma");
config.getServletContext();
configControl.setReturnValue(context);
ApplicationGlobals ag = new ApplicationGlobalsImpl();
i.setGlobals(ag);
replayControls();
servlet.init(config);
// The real ApplicationServlet will build a Registry and, indirectly, invoke this.
i.initialize(servlet);
verifyControls();
IApplicationSpecification as = ag.getSpecification();
assertEquals("wilma", as.getName());
assertEquals(new ContextResource(context, "/WEB-INF/wilma.application"), as
.getSpecificationLocation());
}