Why not catch the exception, do some asserts inside the catch block and return. Then, outside the catch we can call `fail()` to fail the test