private AggregateHub_children_fast_recreation_tests(PersistentHubFixture fixture)
            : base(fixture)
        {
            var actorOfAsTestActorRef = ActorOfAsTestActorRef <PersistentHubActor>(fixture.Infrastructure.CreateHubProps(Node.System),
                                                                                   "TestHub_" + Guid.NewGuid());

            _hubRef = actorOfAsTestActorRef.Ref;
        }
コード例 #2
0
        public PersistentHubChildrenLifetimeTest(PersistentHubFixture fixture) : base(fixture)
        {
            Infrastructure = fixture.Infrastructure;
            var actorOfAsTestActorRef = ActorOfAsTestActorRef <PersistentHubActor>(Infrastructure.CreateHubProps(Node.System),
                                                                                   "TestHub_" + Guid.NewGuid());

            _hub    = actorOfAsTestActorRef.UnderlyingActor;
            _hubRef = actorOfAsTestActorRef.Ref;
        }