public void BadFormat() { var result = _XmlToJsonservice.Convert("<foo>hello</bar>"); Assert.IsTrue(result.Equals("Bad Xml format")); }
public string XmlToJson(string xml) { log.Info($"LemonwayWebService XmlToJson({xml}) is call"); return(_xmlToJsonservice.Convert(xml)); }