private void ExpectTerminationOf(IActorRef actorRef) { ExpectMsg<WrappedTerminated>(w => ReferenceEquals(w.Terminated.ActorRef, actorRef)); }