예제 #1
0
 protected virtual void Assert(IWatcherStatsResponse response)
 {
     response.IsValid.Should().BeTrue();
     response.ConnectionStatus.HttpStatusCode.Should().Be(200);
     response.WatcherState.Should().Be("started");
     response.ExecutionThreadPool.Should().NotBeNull();
     response.CurrentWatches.Should().NotBeNull();
     response.QueuedWatches.Should().NotBeNull();
 }
예제 #2
0
 protected virtual void Assert(IWatcherStatsResponse response)
 {
     response.IsValid.Should().BeTrue();
     response.ConnectionStatus.HttpStatusCode.Should().Be(200);
     response.WatcherState.Should().Be("started");
     response.ExecutionThreadPool.Should().NotBeNull();
     response.CurrentWatches.Should().NotBeNull();
     response.QueuedWatches.Should().NotBeNull();
 }