public HtmlFeatureFormatter( HtmlScenarioFormatter htmlScenarioFormatter, HtmlDescriptionFormatter htmlDescriptionFormatter, HtmlScenarioOutlineFormatter htmlScenarioOutlineFormatter, HtmlImageResultFormatter htmlImageResultFormatter) { this.htmlScenarioFormatter = htmlScenarioFormatter; this.htmlScenarioOutlineFormatter = htmlScenarioOutlineFormatter; this.htmlDescriptionFormatter = htmlDescriptionFormatter; this.htmlImageResultFormatter = htmlImageResultFormatter; this.xmlns = HtmlNamespace.Xhtml; }
public void Setup() { var fakeTestResults = new Mock<ITestResults>(); fakeTestResults.Setup(ftr => ftr.SupportsExampleResults).Returns(false); this.formatter = new HtmlScenarioOutlineFormatter( Container.Resolve<HtmlStepFormatter>(), Container.Resolve<HtmlDescriptionFormatter>(), Container.Resolve<HtmlTableFormatter>(), Container.Resolve<HtmlImageResultFormatter>(), fakeTestResults.Object); }