public void testComplex1() throws Exception {
AtomicInteger started = new AtomicInteger();
AtomicInteger terminated = new AtomicInteger();
final Supervisor sup = new SupervisorActor(RestartStrategy.ALL_FOR_ONE,
new ChildSpec("actor1", ChildMode.PERMANENT, 5, 1, TimeUnit.SECONDS, 3, ActorSpec.of(Actor3.class, "actor1", started, terminated))).spawn();
ActorRef<Integer> a;
a = getChild(sup, "actor1", 1000);
a.send(3);