public void HomeAbout_Template_NullParameter_Test() { var template = new HomeAbout(null); var output = template.TransformText(); Assert.NotNull(output); Assert.NotEmpty(output); }
public void HomeAbout_Template_Test() { var template = new HomeAbout(new SmartAppInfo { Id = ApplicationId }); var output = template.TransformText(); Assert.NotNull(output); Assert.NotEmpty(output); }
private void TransformViewsHomeHomeAbout(SmartAppInfo manifest) { var template = new HomeAbout(manifest); _writingService.WriteFile(Path.Combine(_context.BasePath, template.OutputPath), template.TransformText()); }