protected virtual void Given()
 {
     _projectionCheckpointStreamId = "$projections-projection-checkpoint";
     _projectionCorrelationId      = Guid.NewGuid();
     _projection                        = new FakeCoreProjection();
     _projectionMode                    = ProjectionMode.Persistent;
     _checkpointHandledThreshold        = 2;
     _checkpointUnhandledBytesThreshold = 5;
     _pendingEventsThreshold            = 5;
     _maxWriteBatchLength               = 5;
     _publishStateUpdates               = true;
     _emitEventEnabled                  = true;
     _checkpointsEnabled                = true;
     NoStream(_projectionCheckpointStreamId);
 }
 protected virtual void Given()
 {
     _projectionCheckpointStreamId = "$projections-projection-checkpoint";
     _projectionCorrelationId = Guid.NewGuid();
     _projection = new FakeCoreProjection();
     _projectionMode = ProjectionMode.Persistent;
     _checkpointHandledThreshold = 2;
     _checkpointUnhandledBytesThreshold = 5;
     _pendingEventsThreshold = 5;
     _maxWriteBatchLength = 5;
     _publishStateUpdates = true;
     _emitEventEnabled = true;
     _checkpointsEnabled = true;
     NoStream(_projectionCheckpointStreamId);
 }