Akka.Tests.Actor.RootGuardianActorRef_Tests.Getting_an_unknown_child_that_exists_in_extraNames_Should_return_nobody C# (CSharp) Метод

Getting_an_unknown_child_that_exists_in_extraNames_Should_return_nobody() приватный Метод

        public void Getting_an_unknown_child_that_exists_in_extraNames_Should_return_nobody()
        {
            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 actorRef = rootGuardianActorRef.GetSingleChild("unknown-child");
            Assert.Same(ActorRefs.Nobody, actorRef);
        }