}
@Test
public void testMultithreaded() throws IOException, InterruptedException {
final FileBlockingQueue<Message> queue = new FileBlockingQueue<Message>(
tempDir.newFolder().getAbsolutePath(), "default", 3600, new MessageSerDe());
final int threadCount = 10;
ExecutorService executors = Executors.newFixedThreadPool(threadCount);
final CountDownLatch latch = new CountDownLatch(threadCount + 1);
final CountDownLatch startLatch = new CountDownLatch(1);