public void Then_it_should_include_the_current_event_into_the_projection_exception()
 {
     ProjectionExceptions.Should().ContainSingle()
         .Which.Should().BeOfType<ProjectionException>()
         .Which.CurrentEvent.Should().Be(The<EventEnvelope>());
 }
 public void Then_it_should_include_the_current_transaction_batch_into_the_projection_exception()
 {
     ProjectionExceptions.Should().ContainSingle()
         .Which.Should().BeOfType<ProjectionException>()
         .Which.TransactionBatch.Should().AllBeEquivalentTo(The<Transaction>());
 }
 public void Then_it_should_wrap_the_exception_into_a_projection_exception()
 {
     ProjectionExceptions.Should().ContainSingle()
         .Which.Should().BeOfType<ProjectionException>()
         .Which.InnerException.Should().BeSameAs(The<InvalidOperationException>());
 }