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); }
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); }