예제 #1
0
 public void PurgeSnapshotsAsync_EmptySnapshotStoreDoesNotThrow()
 {
     // Act + Assert
     Assert.DoesNotThrow(() => SnapshotPersistence.PurgeSnapshotsAsync(CancellationToken.None).Wait());
 }
예제 #2
0
 public void PurgeSnapshotsAsync_NoneExistingSnapshotDoesNotThrow()
 {
     // Act + Assert
     Assert.DoesNotThrow(() => SnapshotPersistence.PurgeSnapshotsAsync(typeof(ThingyAggregate), CancellationToken.None).Wait());
 }