public void load_from_file() { new FileSystem().WriteStringToFile("foo.spark", "<h1>Rock on!</h1>"); var template = FileTemplate.FromFile("foo.spark"); template.RawText.ShouldEqual("<h1>Rock on!</h1>"); template.Extension.ShouldEqual(".spark"); }