MockControl applicationc = newControl(INamespace.class);
INamespace application = (INamespace) applicationc.getMock();
INamespace framework = newNamespace();
ISpecificationSource source = newSource(application, framework, resource, spec);
IRequestCycle cycle = newCycle();
trainContainsPage(applicationc, application, "ContextRootPage", false);
train(log, logc, ResolverMessages.resolvingPage("ContextRootPage", application));