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

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

private Getting_temp_child_Should_return_tempContainer ( ) : void
Результат void
        public void Getting_temp_child_Should_return_tempContainer()
        {
            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 tempContainer = new DummyActorRef(_rootActorPath / "temp");
            rootGuardianActorRef.SetTempContainer(tempContainer);
            var actorRef = rootGuardianActorRef.GetSingleChild("temp");
            Assert.Same(tempContainer, actorRef);
        }