Series of blog showing how to use JMock API to help testing MT code - http://www.google.com/cse?cx=008451033954659354866%3Ashhtresohqc&ie=UTF-8&q=JMock+and+Threads A test for deadlock - http://cr.openjdk.java.net/~plevart/jdk8-tl/AnnotationType/fix1/webrev.01/test/java/lang/annotation/AnnotationType/AnnotationTypeDeadlockTest.java.sdiff.html http://cr.openjdk.java.net/~jgish/Bug8010939-LogManager-Deadlock/test/java/util/logging/Bug8010939.java.html Some technique, use of SynchronousExecutorService and Events - http://alexecollins.com/content/5-tips-unit-testing-threaded-code/