0);
//
HashMap<Path.Absolute, TemplateModel<?>> templates = new HashMap<Path.Absolute, TemplateModel<?>>();
templates.put((Path.Absolute)Path.parse("/foo.gtmpl"), foo);
ProcessPhase process = new ProcessPhase(new SimpleProcessContext(templates) {
@Override
public Path.Absolute resolveTemplate(Path path) {
if (path.getCanonical().equals("index.gtmpl")) {
return (Path.Absolute)Path.parse("/plugin/template/tag/decorate/templates/index.gtmpl");
}