private void CreateAtomFeedActor(string actorId) { dummyAtomDocumentActorCreator = new DummyAtomDocumentActorCreator(); var props = Props.Create(() => new AtomFeedActor(dummyAtomDocumentActorCreator, new DummyAtomDocumentSettings(2))); atomActorRef = system.ActorOf(props, name: actorId); }
public void Setup() { dummyAtomDocumentActorCreator = new DummyAtomDocumentActorCreator(); shardedActorSystemFactory = new ShardedActorSystemFactory(8965, "eventActorSystemForTesting", "inmem", "127.0.0.1:8965"); system = shardedActorSystemFactory.GetActorSystem(); CreateAtomFeedActor(Guid.NewGuid().ToString()); CreateFeed(); }