Weird -- so I have done tests like this before, and I would have a boolean that would let me know if I had hit the error condition. Of course expect is the right thing.