protected override async Task Context()
        {
            _process1 = new AcceptanceTestMongoPersistenceFactory().Build();
            await _process1.Initialize();
            _commit1 = await _process1.Commit(Guid.NewGuid().ToString().BuildAttempt());

            _process2 = new AcceptanceTestMongoPersistenceFactory().Build();
            await _process2.Initialize();
        }
 public virtual void Initialize()
 {
     _persistence.Initialize();
 }
Пример #3
0
 public void Initialize()
 {
     original.Initialize();
 }
 public void should_initialize_the_persistence_engine()
 {
     A.CallTo(() => _persistence.Initialize()).MustHaveHappened(Repeated.Exactly.Once);
 }
Пример #5
0
 public Task Initialize()
 {
     return(_persistence.Initialize());
 }
 public void Initialize()
 {
     underlying.Initialize();
 }
Пример #7
0
 public Task Initialize()
 {
     return(_original.Initialize());
 }