You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2021/09/21 06:29:46 UTC
[GitHub] [logging-log4j2] wx930910 commented on pull request #584: LOG4J2-3164: Refactor StoringStatusListener to improve test logic
wx930910 commented on pull request #584:
URL: https://github.com/apache/logging-log4j2/pull/584#issuecomment-923680213
If we only want to make sure that the `log(StatusData)` method execution status, we can verify it by using `Mockito.times()` and get rid of the ArgumentCapture. It can make the test condition even more clear.
--
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: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org