public void Setup() { // Create the basic factory with defaults factory = new TemplateFactory(); factory.RegisterIncludePattern("{0}.template"); factory.Register("Var1", "var1", typeof(string)); }