SyntaxFix
Write A Post
Hire A Developer
Questions
To test a scenario with a void method like
void testMeWell() throws SomeException {..}
to not throw an exception:
Junit5
assertDoesNotThrow(() -> { testMeWell(); });