         let richTextView = Aztec.TextView(defaultFont: UIFont.systemFontOfSize(14), defaultMissingImage: Gridicon.iconOfType(.Attachment))
 
         let attributes = [NSParagraphStyleAttributeName : NSParagraphStyle()]
-        let paragraph = "Lorem ipsum dolar sit amet.\n"
         let templateString = NSMutableAttributedString(string: paragraph, attributes: attributes)
 
         let attrStr = NSMutableAttributedString()

    }

    // MARK: - Helpers

    func editorConfiguredForTesting(withHTML html: String) -> Aztec.TextView {
        let richTextView = Aztec.TextView(defaultFont: UIFont.systemFontOfSize(14), defaultMissingImage: Gridicon.iconOfType(.Attachment))


    func testToggleBlockquote() {
        let editor = editorConfiguredWithParagraphs()
        let length = paragraph.characters.count
        let range = NSRange(location: 0, length: length)

        editor.toggleBlockquote(range: range)

        XCTAssert(editor.formattingAtIndexContainsBlockquote(1))
        XCTAssert(editor.blockquoteFormattingSpansRange(range))

        editor.toggleBlockquote(range: range)

        XCTAssert(!editor.formattingAtIndexContainsBlockquote(1))
        XCTAssert(!editor.blockquoteFormattingSpansRange(range))
    }

    func testToggleOrderedList() {
        let editor = editorConfiguredWithParagraphs()
        let length = paragraph.characters.count
        let range = NSRange(location: 0, length: length)

        editor.toggleOrderedList(range: range)

        XCTAssert(editor.formattingAtIndexContainsOrderedList(0))
        XCTAssert(editor.orderedListFormattingSpansRange(range))

        editor.toggleOrderedList(range: range)

        XCTAssert(!editor.formattingAtIndexContainsOrderedList(0))
        XCTAssert(!editor.orderedListFormattingSpansRange(range))
    }

    func testToggleUnorderedList() {
        let editor = editorConfiguredWithParagraphs()
        let length = paragraph.characters.count
        let range = NSRange(location: 0, length: length)

        editor.toggleUnorderedList(range: range)

        XCTAssert(editor.formattingAtIndexContainsUnorderedList(0))
        XCTAssert(editor.unorderedListFormattingSpansRange(range))

        editor.toggleOrderedList(range: range)

        XCTAssert(!editor.formattingAtIndexContainsUnorderedList(0))
        XCTAssert(!editor.unorderedListFormattingSpansRange(range))
    }

    func testInsertLink() {
