public void ExternalLoginFailureView_Template_NullParameter_Test() { var template = new ExternalLoginFailure(null); var output = template.TransformText(); Assert.NotNull(output); Assert.NotEmpty(output); }
public void ExternalLoginFailureView_Template_Test() { var template = new ExternalLoginFailure(new SmartAppInfo { Id = ApplicationId }); var output = template.TransformText(); Assert.NotNull(output); Assert.NotEmpty(output); }
private void TransformViewsAccountExternalLoginFailure(SmartAppInfo manifest) { var template = new ExternalLoginFailure(manifest); _writingService.WriteFile(Path.Combine(_context.BasePath, template.OutputPath), template.TransformText()); }