Akka.Tests.Actor.RootGuardianActorRef_Tests.Parent_Should_be_itself C# (CSharp) Méthode

Parent_Should_be_itself() private méthode

private Parent_Should_be_itself ( ) : void
Résultat void
        public void Parent_Should_be_itself()
        {
            var props = Props.Create<GuardianActor>(new OneForOneStrategy(e => Directive.Stop));
            var rootGuardianActorRef = new RootGuardianActorRef((ActorSystemImpl) Sys, props, _dispatcher, () => Sys.Mailboxes.CreateMailbox(props,null), ActorRefs.Nobody, _rootActorPath, _deadLetters, _emptyExtraNames);
            var parent = rootGuardianActorRef.Parent;
            Assert.Same(rootGuardianActorRef, parent);
        }