private void CompareCsdls(IEnumerable<XElement> expectedCsdls, IEnumerable<XElement> actualCsdls)
 {
     var verifier = new SerializerResultVerifierUsingXml();
     verifier.Verify(expectedCsdls, actualCsdls);
 }
示例#2
0
        private void CompareCsdls(IEnumerable<string> expectedCsdls, IEnumerable<string> actualCsdls)
        {
            var verifier = new SerializerResultVerifierUsingXml();

            var expected = expectedCsdls.Select(s => XElement.Load(new StringReader(s)));
            var actual = actualCsdls.Select(s => XElement.Load(new StringReader(s)));

            verifier.Verify(expected, actual);
        }