示例#1
0
        public void BadFormat()
        {
            var result = _XmlToJsonservice.Convert("<foo>hello</bar>");

            Assert.IsTrue(result.Equals("Bad Xml format"));
        }
示例#2
0
 public string XmlToJson(string xml)
 {
     log.Info($"LemonwayWebService XmlToJson({xml}) is call");
     return(_xmlToJsonservice.Convert(xml));
 }