public void Must_be_able_to_revert_to_initial_state_on_restart() {
var a = Sys.ActorOf<RevertToInitialState>();
a.Tell("state");
ExpectMsg("0");
a.Tell("swap");
ExpectMsg("swapped");
a.Tell("state");
ExpectMsg("1");
EventFilter.Exception<Exception>("Crash (expected)!").Expect(1, () => {
a.Tell("crash");
});
a.Tell("state");
ExpectMsg("0");
}