View Answer
Workspace
Share
Copy Text
Copy URL
Answer : Option B
Explanation :
Since JUnit 4.7, ExpectedException can be used to test both exception type and message.
Be The First To Comment