public EditorRenderingTests() { rootTag = new Mock <IHtmlNode>(); rootTag.SetupGet(t => t.Children).Returns(() => new List <IHtmlNode>()); textarea = new Mock <IHtmlNode>(); textarea.SetupGet(t => t.Children).Returns(() => new List <IHtmlNode>()); editor = EditorTestHelper.CreateEditor(); editor.Name = "Editor"; textWriter = new Mock <TextWriter>(); }
public EditorBuilderTests() { editor = EditorTestHelper.CreateEditor(); builder = new EditorBuilder(editor); }