private void before_each()
 {
     _id             = Guid.Parse("bcb724f5-562f-4706-b470-570fa7174ec0");
     _bucketId       = new BucketId("bucket-id");
     _createSessions = new FakeICreateSessions();
     _streams        = new FakeIWriteStreams();
     _target         = new UnitOfWork(_bucketId, null, _createSessions, _streams);
 }
예제 #2
0
 private void before_each()
 {
     _id                  = Guid.Parse("bcb724f5-562f-4706-b470-570fa7174ec0");
     _bucketId            = new BucketId("bucket-id");
     _aggregate           = new FakeAggregate(_id);
     _createSessions      = new FakeICreateSessions();
     _writeSessionStreams = new FakeIWriteStreams();
     _readStreams         = new FakeIReadStreams();
     _target              = new UnitOfWork(_bucketId, _readStreams, _createSessions, _writeSessionStreams);
 }