sdk/dotnet/test/Microsoft.Datasync.Client.Test/Table/Operations.RemoteTable/BaseOperationTest.cs
/// <summary>
/// Checks that the provided result matches the payload.
/// </summary>
/// <param name="response">The result received.</param>
Checks that the provided result matches the payload.
Checks that the provided result matches the payload .
protected void AssertJsonMatches(JToken response)
        {
            Assert.NotNull(response);
            Assert.IsAssignableFrom<JObject>(response);
            var result = (JObject)response;
            Assert.Equal(payload.Id, result.Value<string>("id"));
            Assert.Equal(payload.StringValue, result.Value<string>("stringValue"));
        }
protected void AssertJsonMatches ( JToken response ) { Assert . NotNull ( response ) ; Assert . IsAssignableFrom < JObject > ( response ) ; var result = ( JObject ) response ; Assert . Equal ( payload . Id , result . Value < string > ( " " ) ) ; Assert . Equal ( payload . StringValue , result . Value < string > ( " " ) ) ; }
Checks that the provided result matches the payload.
Checks that the provided result matches the payload .
response
JToken
The result received.
The result received .