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; }