JAFuture future = new JAFuture();
JidFactories factory = new JidFactories();
factory.initialize(mailboxFactory.createMailbox());
ActorJidFactory actorJidAFactory = new ActorJidFactory();
Actor jidJid1 = actorJidAFactory.newActor(factory.getMailbox(), factory);
int sl = GetSerializedLength.req.send(future, jidJid1);
assertEquals(4, sl);
Clear.req.send(future, jidJid1);
sl = GetSerializedLength.req.send(future, jidJid1);
assertEquals(4, sl);
Actor jidJid1a = GetActor.req.send(future, jidJid1);
assertNull(jidJid1a);
Actor rpa = (new ResolvePathname("")).send(future, jidJid1);
assertNotNull(rpa);
assertEquals(rpa, jidJid1);
rpa = (new ResolvePathname("0")).send(future, jidJid1);
assertNull(rpa);
Actor jidJid11 = (new CopyJID()).send(future, jidJid1);
assertNotNull(jidJid11);
sl = GetSerializedLength.req.send(future, jidJid11);
assertEquals(4, sl);
rpa = (new ResolvePathname("")).send(future, jidJid11);
assertNotNull(rpa);
assertEquals(rpa, jidJid11);
rpa = (new ResolvePathname("0")).send(future, jidJid11);
assertNull(rpa);
StringJidFactory stringJidAFactory = StringJidFactory.fac;
Actor string1 = stringJidAFactory.newActor(factory.getMailbox(), factory);
(new SetString("abc")).send(future, string1);
byte[] sb = GetSerializedBytes.req.send(future, string1);
(new SetActorBytes(stringJidAFactory, sb)).send(future, jidJid1);
Actor sj = GetActor.req.send(future, jidJid1);
assertEquals("abc", GetString.req.send(future, sj));
Actor jidJid2 = ActorJidFactory.fac.newActor(factory.getMailbox(), factory);
sl = GetSerializedLength.req.send(future, jidJid2);
assertEquals(4, sl);
SetActor sjvj = new SetActor(JidFactories.JID_TYPE);
sjvj.send(future, jidJid2);
MakeActor mjvj = new MakeActor(JidFactories.JID_TYPE);
boolean made = mjvj.send(future, jidJid2);
assertEquals(false, made);
Actor jidJid2a = GetActor.req.send(future, jidJid2);
assertNotNull(jidJid2a);
sl = GetSerializedLength.req.send(future, jidJid2a);
assertEquals(0, sl);
sl = GetSerializedLength.req.send(future, jidJid2);
assertEquals(14, sl);
rpa = (new ResolvePathname("")).send(future, jidJid2);
assertNotNull(rpa);
assertEquals(rpa, jidJid2);
rpa = (new ResolvePathname("0")).send(future, jidJid2);
assertNotNull(rpa);
assertEquals(rpa, jidJid2a);
Actor jidJid22 = (new CopyJID()).send(future, jidJid2);
Clear.req.send(future, jidJid2);
sl = GetSerializedLength.req.send(future, jidJid2);
assertEquals(4, sl);
jidJid2a = GetActor.req.send(future, jidJid2);
assertNull(jidJid2a);
assertNotNull(jidJid22);
sl = GetSerializedLength.req.send(future, jidJid22);
assertEquals(14, sl);
rpa = (new ResolvePathname("")).send(future, jidJid22);
assertNotNull(rpa);
assertEquals(rpa, jidJid22);
rpa = (new ResolvePathname("0")).send(future, jidJid22);
assertNotNull(rpa);
sl = GetSerializedLength.req.send(future, rpa);
assertEquals(0, sl);
Actor jidJid3 = ActorJidFactory.fac.newActor(factory.getMailbox(), factory);
sl = GetSerializedLength.req.send(future, jidJid3);
assertEquals(4, sl);
MakeActor mjvjj = new MakeActor(JidFactories.ACTOR_JID_TYPE);
made = mjvjj.send(future, jidJid3);
assertEquals(true, made);
made = mjvjj.send(future, jidJid3);
assertEquals(false, made);
Actor jidJid3a = GetActor.req.send(future, jidJid3);
assertNotNull(jidJid3a);
sl = GetSerializedLength.req.send(future, jidJid3a);
assertEquals(4, sl);
sl = GetSerializedLength.req.send(future, jidJid3);
assertEquals(30, sl);
made = mjvj.send(future, jidJid3a);
assertEquals(true, made);
made = mjvj.send(future, jidJid3a);
assertEquals(false, made);
Actor jidJid3b = GetActor.req.send(future, jidJid3a);
assertNotNull(jidJid3b);
sl = GetSerializedLength.req.send(future, jidJid3b);
assertEquals(0, sl);
sl = GetSerializedLength.req.send(future, jidJid3a);
assertEquals(14, sl);
sl = GetSerializedLength.req.send(future, jidJid3);
assertEquals(40, sl);
rpa = (new ResolvePathname("")).send(future, jidJid3);
assertNotNull(rpa);
assertEquals(rpa, jidJid3);
rpa = (new ResolvePathname("0")).send(future, jidJid3);
assertNotNull(rpa);
assertEquals(rpa, jidJid3a);
rpa = (new ResolvePathname("0/0")).send(future, jidJid3);
assertNotNull(rpa);
assertEquals(rpa, jidJid3b);
Actor jidJid33 = (new CopyJID()).send(future, jidJid3);
Clear.req.send(future, jidJid3a);
sl = GetSerializedLength.req.send(future, jidJid3a);
assertEquals(4, sl);
sl = GetSerializedLength.req.send(future, jidJid3);
assertEquals(30, sl);
jidJid3b = GetActor.req.send(future, jidJid3a);
assertNull(jidJid2a);
Actor jidJid3aa = GetActor.req.send(future, jidJid3);
assertEquals(jidJid3a, jidJid3aa);
assertNotNull(jidJid33);
sl = GetSerializedLength.req.send(future, jidJid33);
assertEquals(40, sl);
rpa = (new ResolvePathname("")).send(future, jidJid33);