In mockito\'s intercept method which checks for thrown exception, there is a way to validate the message contained in the exception.
mockito
intercept
I generally