// populate the array with the threads in this group.
threadGroup.enumerate(originalThreads);
Set<Thread> originalThreadSet = new HashSet<Thread>(Arrays.asList(originalThreads));
new MessageDispatcherTest(createChannel()).start();
// wait for anything necessary to finish up.
Thread.sleep(10000);
Thread[] currentThreads = new Thread[threadGroup.activeCount()];