コード例 #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());
 }