                 let textView = UITextView()
                 textView.attributedText = NSAttributedString(string:
                     "Test string, test string, test string, test string, test string, test string, test string, test string, test string.")
-                textView.attributedText |> apply(mentionAttributes, range: NSRange(location: 0, length: textView.attributedText.length))
+                textView.attributedText
+                    |> apply(mentionAttributes, range: NSRange(location: 0, length: textView.attributedText.length))
 
                 expect(textView.typingAttributes[.backgroundColor] as? UIColor).to(equal(UIColor.red))
                 expect(textView.typingAttributes[.foregroundColor] as? UIColor).to(equal(UIColor.blue))

            it("Should apply attributes passed to apply function") {
                var attributedText = NSAttributedString(string:
                    "Test string, test string, test string, test string, test string, test string, test string, test string, test string.")
                attributedText |> apply(mentionAttributes, range: NSRange(location: 0, length: attributedText.length))

                expect(attributedText.attributes(at: 0, effectiveRange: nil)[.backgroundColor] as? UIColor).to(equal(UIColor.red))
                expect(attributedText.attributes(at: 0, effectiveRange: nil)[.foregroundColor] as? UIColor).to(equal(UIColor.blue))

            pending("Should throw assertion if range location is NSNotFound") {
                var attributedText = NSAttributedString(string: "Test Steven Zweier")
                expect(
                    attributedText
                        |> insert([(ExampleMention(name: "Steven Zweier"), NSRange(location: NSNotFound, length: 13))],
                                  with: mentionAttributesClosure)
                ).to(throwAssertion())
            }

