public class CalculatorTest extends TestCase {
public void test1() {
System.err.println("test 1");
MailboxFactory mailboxFactory = JAMailboxFactory.newMailboxFactory(1);
try {
Mailbox mailbox = mailboxFactory.createMailbox();
Calculator calculator = new Calculator();
calculator.initialize(mailbox);
JAFuture future = new JAFuture();
future.send(calculator, new Set(1));
future.send(calculator, new Add(2));