Use `setExpectedException` instead (to verify the throwing) or add a new test doing that (not sure if there is already one)