Example #1
0
 public void SetUp()
 {
     Snapshot = new Snapshot(Guid.NewGuid(), 1, new TestSnapshot {
         Name = "Name"
     });
     SnapshotStore.SaveShapshot(Snapshot);
     _retrieved = SnapshotStore.GetSnapshot(Snapshot.EventSourceId, long.MaxValue);
 }
 public void SetUp()
 {
     Snapshot = new TestSnapshot {
         EventSourceId = Guid.NewGuid(), EventSourceVersion = 1, Name = "TestName"
     };
     SnapshotStore.SaveShapshot(Snapshot);
     _retrieved = SnapshotStore.GetSnapshot(Snapshot.EventSourceId);
 }
 public void SetUp()
 {
     Snapshot = new TestSnapshot {
         EventSourceId = Guid.NewGuid(), EventSourceVersion = 1, Name = "TestName"
     };
     _foldername = Snapshot.EventSourceId.ToString().Substring(0, 2);
     _filename   = Snapshot.EventSourceId.ToString().Substring(2) + ".ss";
     SnapshotStore.SaveShapshot(Snapshot);
 }