/// <summary>
 /// Constructor.
 /// </summary>
 public Actor()
 {
     _taskScheduler    = new ActorTaskScheduler(Id);
     _actorTaskFactory = new ActorTaskFactory(_taskScheduler);
     _startTask        = _startTaskCompletionSource.Task;
 }
 public ActorTaskSchedulerTests()
 {
     _scheduler        = new ActorTaskScheduler(_actorId);
     _actorTaskFactory = new ActorTaskFactory(_scheduler);
 }