Ejemplo n.º 1
0
 public void TestInitialize()
 {
     var mongoEventStoreFactory = new MongoEventStoreFactory();
     _eventStore = mongoEventStoreFactory.CreateAsync(ConnectionString, DatabaseName).Result;
     _events = CounterEventMother.CreateIncrementedEvents().Take(EventCount).ToList();
 }
 protected static IEventStore CreateMongoEventStore()
 {
     var mongoEventStoreFactory = new MongoEventStoreFactory();
     return mongoEventStoreFactory.CreateAsync(ConnectionString, DatabaseName).Result;
 }