wx930910 opened a new pull request #213: URL: https://github.com/apache/commons-vfs/pull/213
Fixes [VFS-809](https://issues.apache.org/jira/browse/VFS-809) ### Description Replace test class [CountingListener](https://github.com/apache/commons-lang/blob/69c9593cc1da760bb4dbcf32f4ae755c54376b77/src/test/java/org/apache/commons/lang3/concurrent/AtomicSafeInitializerTest.java#L67) by mocking object created by Mockito. <hr> ##### Key changed/added classes in this PR - Create mocking object to replace test subclass `CountingListener`, decouple test from production code. - Extract AtomicLong variables out of the test subclass. Use the extracted variables in assertation statement to check methods invocation status and make test condition more explict. <hr> -- 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: issues-unsubscr...@commons.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org