lastActor.send("Hi");
}
cdl.await(1000, TimeUnit.SECONDS);
group.shutdown();
final long t2 = System.currentTimeMillis();
System.out.println("Time to process " + latchCount + " messages: " + (t2 - t1) + " ms");
assertEquals("Latch has not been decreased to 0", 0, cdl.getCount());
}