public void SetUp() { var services = new InMemoryServiceLocator(); theDocument = new FubuHtmlDocument(services); theDocument.Push("div"); theBuilder = new DetailTableBuilder(theDocument); }
private DetailsTableTag buildDetails(RouteReport report) { var builder = new DetailTableBuilder(_document); builder.AddDetail("Route", report.Route); builder.AddDetail("Http Verbs", report.Constraints); builder.AddDetail("Url Category", report.UrlCategory); builder.AddDetail("Origin", report.Origin); builder.AddDetail("Input Type", report.InputModel); builder.AddDetail("Resource Type", report.ResourceType); builder.AddDetail("Accepts", report.Accepts); builder.AddDetail("Content Type", report.ContentType); return builder.DetailTag; }