It would be good to add a message to the assertion that explain why it failed. Something like ``Expected to throw exception ${ex.getName}, but found ${found.getName}``.

A rule of thumb: always add a message to the assertion for the failing case as it makes it straightforward to understand the cause of a failing test (you'll thank me in the future ;)).