Exemple #1
0
 public void Monitor_stats_should_return_stats_for_every_stream()
 {
     _monitor.UpdateEventStreamSubscriberIntervalMonitor(StreamName, TimeSpan.FromMilliseconds(-5));
     _monitor.UpdateEventStreamSubscriberIntervalMonitor(StreamName + "1", _interval);
     _monitor.GetStreamsIntervalStats().Should().HaveCount(2);
 }