             spyB.displayName = "spyB"
 
             expect(-> spyA.should.have.been.calledBefore(spyB)).to
-                .throw("expected spyA to have been called before spyB")
+                .throw("expected spyA to have been called before function spyB() {}")
             expect(-> spyB.should.have.been.calledAfter(spyA)).to
-                .throw("expected spyB to have been called after spyA")
+                .throw("expected spyB to have been called after function spyA() {}")
 
         it "should be correct for the negated cases", ->
             spyA = sinon.spy()


            spy.call(badContext)

            expected = "expected spy to have been called with {} as this, but it was called with " + spy.printf("%t")
            expect(-> spy.should.have.been.calledOn(context)).to.throw(expected)
            expect(-> spy.getCall(0).should.have.been.calledOn(context)).to.throw(expected)


                .throw("expected spy to have thrown TypeError")

            expect(-> throwingSpy.should.have.thrown({ message: "x" })).to
                .throw('expected spy to have thrown { message: "x" }')
            expect(-> throwingSpy.getCall(0).should.have.thrown({ message: "x" })).to
                .throw('expected spy to have thrown { message: "x" }')

        it "should be correct for the negated cases", ->
            error = new Error("boo!")
