public void test() {
MailboxFactory mailboxFactory = JAMailboxFactory.newMailboxFactory(10);
try {
JAFuture future = new JAFuture();
JANBLock nblock = new JANBLock();
nblock.initialize(mailboxFactory.createAsyncMailbox());
Driver driver = new Driver();
driver.initialize(mailboxFactory.createAsyncMailbox(), nblock);
(new DoItEx()).send(future, driver);
} catch (Throwable e) {
e.printStackTrace();