public ExpectMockActor(ConcurrentDictionary <Guid, MockMessages> messagesReceived, IActorRef actorRef, IContainer container, ActorSystem actorSystem)
 {
     MessagesReceived = messagesReceived;
     ActorMetaData    = actorRef.ToActorMetaData();
     Container        = container;
     ActorSystem      = actorSystem;
 }
 /// <summary>
 /// providing ActorSelection for actor in contest ignores this request, as actor selection implies parent has been provided
 /// </summary>
 public ExpectMockActor WhoseParentIs(IActorRef parentActor)
 {
     ParentActor = parentActor.ToActorMetaData();
     return(this);
 }