KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I know that one can define an 'expected' exception in JUnit, doing: @Test(expect=MyException.class) public void someMethod() { ... } But what if there is always same exception thrown, but with different 'nested' causes . Any suggestions?
Tags (comma-separated)
Save Edits
Cancel