expect(context.getResource("/WEB-INF/myportlet/myportlet.application")).andReturn(null);
expect(context.getResource("/WEB-INF/myportlet.application")).andReturn(fakeURL);
Resource expectedResource = new WebContextResource(context,
"/WEB-INF/myportlet.application");
ISpecificationParser parser = newParser(expectedResource, specification);
ApplicationGlobals globals = newGlobals();