public void ShouldGetGetBaseTypesFromReferencedType()
        {
            MyArtifactLink link  = new MyArtifactLink("SampleData\\BaseTypes.xsd", "LandmarkPoint");
            IList <string> types = XmlSchemaUtility.GetBaseTypesFromReferencedType(@"xsd:\\SampleData\BaseTypes.xsd?LandmarkPoint", link);

            Assert.IsTrue(types.Count > 0);
            Assert.AreEqual <string>(link.Namespace + ".LandmarkBase", types[0]);
        }
        public void ShouldGetGetXmlSchemaSource()
        {
            MyArtifactLink link         = new MyArtifactLink("SampleData\\SimpleSchema1.xsd", "element1");
            string         schemaSource = XmlSchemaUtility.GetXmlSchemaSource(@"xsd:\\SampleData\SimpleSchema1.xsd?element1", link);

            Assert.IsTrue(Path.IsPathRooted(schemaSource));
            Assert.IsTrue(File.Exists(schemaSource));
        }