public void Init()
        {
            originalXml =
                "<root>\r\n" +
                "\t<child>\r\n" +
                "\t</child>\r\n" +
                "</root>";

            textEditor = new MockTextEditor();
            textEditor.OptionsConvertTabsToSpaces = false;
            textEditor.OptionsIndentationSize     = 4;
            textEditor.OptionsIndentationString   = "\t";

            textEditor.Document.Text = originalXml;

            // Insert new xml as child element of <child>.
            // Insert position is just before the start of </root> end element.
            WixDocumentEditor editor = new WixDocumentEditor(textEditor);

            string xmlToInsert =
                "<new-child>\r\n" +
                "</new-child>\r\n";

            int line   = 3;
            int column = 2;

            editor.InsertIndented(line, column, xmlToInsert);

            document = textEditor.Document;
        }