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>();
        }
Ejemplo n.º 2
0
 public EditorBuilderTests()
 {
     editor  = EditorTestHelper.CreateEditor();
     builder = new EditorBuilder(editor);
 }