public void Test_template_loading_from_subfolder() { using (var tempFolder = new TempFolder()) { var collection = new TemplateCollection(); tempFolder.CreateWriteTextFile("folder/template-a.hbs", "Contents A"); collection.LoadTemplates(new[] { tempFolder.GetRootPath() }); var templateA = collection.GetTemplate("folder/template-a"); templateA.Should().NotBeNull(); templateA.Name.Should().Be("folder/template-a"); templateA.RenderIntoString(new object()).Should().Be("Contents A"); } }