configControl.setReturnValue(appSpecResource.getPath());
IApplicationSpecification as = new ApplicationSpecification();
MockControl parserControl = newControl(ISpecificationParser.class);
ISpecificationParser parser = (ISpecificationParser) parserControl.getMock();
i.setParser(parser);
parser.parseApplicationSpecification(appSpecResource);
parserControl.setReturnValue(as);
ApplicationGlobals ag = (ApplicationGlobals) newMock(ApplicationGlobals.class);
i.setGlobals(ag);