StandardOpenOption.WRITE,
StandardOpenOption.CREATE);
RootJid rj = new RootJid();
rj.initialize(mailbox, factory);
Block block = new LA32Block();
block.setRootJid(rj);
(new ForcedWriteRootJid(block)).send(future, jFile);
assertEquals(12L, block.getCurrentPosition());
Block block2 = new LA32Block();
(new ReadRootJid(block2)).send(future, jFile);
RootJid rj2 = block2.getRootJid(mailbox, factory);
assertNotNull(rj2);
(new ReadRootJid(block2)).send(future, jFile);
rj2 = block2.getRootJid(mailbox, factory);
assertNull(rj2);
jFile.fileChannel.close();
mailboxFactory.close();
}