function createMockEditor(doc) {
            return SpecRunnerUtils.createMockEditorForDocument(doc);
        }
Returns an Editor suitable for use in isolation, given a Document.

@param {Document} doc - the document to be contained by the new Editor
@return {Editor} - the mock editor object