public void AccessDeniedView_Template_NullParameter_Test() { var template = new AccessDenied(null); var output = template.TransformText(); Assert.NotNull(output); Assert.NotEmpty(output); }
public void AccessDeniedView_Template_Test() { var template = new AccessDenied(new SmartAppInfo { Id = ApplicationId }); var output = template.TransformText(); Assert.NotNull(output); Assert.NotEmpty(output); }
private void TransformViewsAccountAccessDenied(SmartAppInfo manifest) { var template = new AccessDenied(manifest); _writingService.WriteFile(Path.Combine(_context.BasePath, template.OutputPath), template.TransformText()); }