solomax commented on PR #601:
URL: https://github.com/apache/wicket/pull/601#issuecomment-1690956778

   > where developers refactor exception handling operations using the 
assertThrows assertion (e.g., instead of using @Test(expected))
   
   AFAIK `@Test(expected)` is **JUnit-4** way of checking exception was thrown, 
while `assertThrows` is **JUnit-5** way :)))
   
   for ex. see here: https://www.baeldung.com/junit-5-migration#1-annotations


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to