KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In JUnit, I'm currently using annotation to expect an exception in my tests. Is there a way to analyse this exception? For example, I expect a CriticalServerException , but I also want to verify the content of the getMessage method.
Tags (comma-separated)
Save Edits
Cancel