Esempio n. 1
0
 internal async Task Should_Return_Info_On_GetStreamInfo(
     [Frozen] IStreamInfoReader reader,
     EventStoreClient sut,
     StreamId streamId,
     IStreamMetadata expectedResult,
     CancellationToken cancellationToken)
 {
     reader
     .ReadAsync(default, default)
 public EventStoreClient(
     IStreamWriter streamWriter,
     IStreamReader streamReader,
     IStreamInfoReader infoReader,
     IStreamIndexReader indexReader,
     IStreamCheckpointWriter checkpointWriter,
     IStreamCheckpointReader checkpointReader,
     IStreamSubscriptionFactory subscriptionFactory,
     IStreamSubscriptionRemover subscriptionRemover)
 {
     this.streamWriter        = streamWriter;
     this.streamReader        = streamReader;
     this.infoReader          = infoReader;
     this.indexReader         = indexReader;
     this.checkpointWriter    = checkpointWriter;
     this.checkpointReader    = checkpointReader;
     this.subscriptionFactory = subscriptionFactory;
     this.subscriptionRemover = subscriptionRemover;
 }