public void SetUp()
        {
            // populate the event store
            store = TestEventStore.Create();

            streamSource = new NEventStoreStreamSource(store);
        }
示例#2
0
        public void SetUp()
        {
            // populate the event store
            store = TestEventStore.Create();

            streamIds = Enumerable.Range(1, 100)
                        .Select(_ => Guid.NewGuid().ToString())
                        .ToArray();

            foreach (var streamId in streamIds)
            {
                store.WriteEvents(streamId);
            }

            streamSource = new NEventStoreStreamSource(store);
        }