public GenericIssueReportFixture(GenericIssueReportTemplate template) { this.Log = new FakeLog { Verbosity = Verbosity.Normal }; this.GenericIssueReportFormatSettings = GenericIssueReportFormatSettings.FromEmbeddedTemplate(template); }
public void Should_Set_Embedded_Template() { // Given var template = GenericIssueReportTemplate.HtmlDiagnostic; // When var settings = GenericIssueReportFormatSettings.FromEmbeddedTemplate(template); // Then settings.Template.ShouldNotBeNullOrWhiteSpace(); }