示例#1
0
        public void TwoStrings_ReturnTrue()
        {
            var expected = "string";
            var actual   = "string";

            var result = _jsonMatcher.MatchBody(expected, actual);

            Assert.True(result);
        }
示例#2
0
        public void PartialExpectedJsonComparison_ReturnsTrue()
        {
            var expected = @"{ Key: ""Value"" }";
            var actual   = @"{ Key: ""Value"", Key2: ""Value2"" }";

            var result = _jsonMatcher.MatchBody(expected, actual);

            Assert.True(result);
        }