public void the_stream_is_deleted()
 {
     Assert.That(ReadIndex.IsStreamDeleted("ES"));
 }
Ejemplo n.º 2
0
 public void indicate_that_nonexisting_stream_with_same_hash_is_not_deleted()
 {
     Assert.That(ReadIndex.IsStreamDeleted("XXX"), Is.False);
 }
Ejemplo n.º 3
0
 public void indicate_that_existing_stream_with_different_hash_is_not_deleted()
 {
     Assert.That(ReadIndex.IsStreamDeleted("ES"), Is.False);
 }
Ejemplo n.º 4
0
 public void is_stream_deleted_returns_true()
 {
     Assert.That(ReadIndex.IsStreamDeleted("ES"));
 }
Ejemplo n.º 5
0
 public void indicate_that_stream_is_deleted()
 {
     Assert.That(ReadIndex.IsStreamDeleted("ES1"));
 }
 public void indicate_that_other_stream_is_not_deleted()
 {
     Assert.IsFalse(ReadIndex.IsStreamDeleted("KEEP"));
 }
 public void indicate_that_stream_is_not_deleted()
 {
     Assert.That(ReadIndex.IsStreamDeleted("ES"), Is.False);
 }
Ejemplo n.º 8
0
 public void indicate_that_other_streams_with_same_hash_are_not_deleted()
 {
     Assert.That(ReadIndex.IsStreamDeleted("S2"), Is.False);
     Assert.That(ReadIndex.IsStreamDeleted("S3"), Is.False);
 }
Ejemplo n.º 9
0
 public void the_metastream_is_deleted()
 {
     Assert.IsTrue(ReadIndex.IsStreamDeleted("$$test"));
 }
 public void indicate_that_any_stream_is_not_deleted()
 {
     Assert.That(ReadIndex.IsStreamDeleted("X"), Is.False);
     Assert.That(ReadIndex.IsStreamDeleted("YY"), Is.False);
     Assert.That(ReadIndex.IsStreamDeleted("ZZZ"), Is.False);
 }
Ejemplo n.º 11
0
 public void throw_on_empty_stream_argument()
 {
     Assert.Throws <ArgumentNullException>(() => ReadIndex.IsStreamDeleted(string.Empty));
 }
Ejemplo n.º 12
0
 public void crash_on_null_stream_argument()
 {
     Assert.Throws <ArgumentNullException>(() => ReadIndex.IsStreamDeleted(null));
 }