SyntaxFix
Write A Post
Hire A Developer
Questions
You can expect that exception is not thrown by creating a rule.
@Rule public ExpectedException expectedException = ExpectedException.none();