usemovie::actor;actor!{ SimplestActor }// completely useless
actor!{
SimpleActor
input: Ping,
on_message:
Ping =>(),}#[test]fntest_simple_actor(){useSimpleActor::{Actor, Input};// Create and spawn the actor
let actor = Actor {}.start();
actor.send(Input::Ping);
actor.stop();// Will block, waiting for actor.
}