Example #1
0
        public async Task Convert_SeresBasicSchema(string jsonPath, string xsdPath)
        {
            var expectedXsd = ResourceHelpers.LoadXmlSchemaTestData(xsdPath);

            XmlSchema actualXsd = await ConvertJsonSchema(jsonPath);

            string actualXml = await Serialize(actualXsd);

            XmlSchemaAssertions.IsEquivalentTo(expectedXsd, actualXsd);
        }