private void AssertPutWatchResponse(IPutWatchResponse response, string watchId)
 {
     response.IsValid.Should().Be(true);
     response.ConnectionStatus.HttpStatusCode.Should().Be(201);
     response.Version.Should().Be(1);
     response.Id.Should().NotBeNullOrWhiteSpace().And.Be(watchId);
 }
 private void AssertPutWatchResponse(IPutWatchResponse response, string watchId)
 {
     response.IsValid.Should().Be(true);
     response.ConnectionStatus.HttpStatusCode.Should().Be(201);
     response.Version.Should().Be(1);
     response.Id.Should().NotBeNullOrWhiteSpace().And.Be(watchId);
 }
Exemple #3
0
 protected virtual void Assert(IPutWatchResponse response, string expectedId)
 {
     response.IsValid.Should().BeTrue();
     response.ConnectionStatus.HttpStatusCode.Should().Be(201);
     response.Version.Should().Be(1);
     response.Created.Should().BeTrue();
     response.Id.Should().Be(expectedId);
     response.Version.Should().Be(1);
 }