Nearly all exception formatters will return a string. In this case, you need to test that *our* formatter is getting called. That's all.