SupervisorActor.class),"supervisorActor");
// Get access to the ActorRef
ActorRef calActor = TypedActor.get(_system).getActorRefFor(calculator);
// call actor with a message
calActor.tell("Hi there",calActor);
//wait for child actor to get restarted
Thread.sleep(500);
// Invoke the method and wait for result