As mentioned in my post, this approach was inspired by the use of Groovy closures when testing exceptions.
I was wondering if anyone knew whether this approach was available in any JUnit extension projects or other Java based testing frameworks? I couldn't find it being used anywhere else.
Also, I'd like some feedback as to whether people like the look of this approach. I've had mixed reactions. Some like the fact it removes the try{} catch{} notation and the manual repetition that goes with it, others find it harder to follow.
Thanks,
Jon Dickinson