public void NamespacePrefixModifiesXmlSchemaFileAssociation()
        {
            panel.SetSelectedSchemaNamespacePrefix("modified-prefix");
            schemasEditor.SchemaNamespacePrefixChanged();
            schemasEditor.SaveOptions();
            XmlSchemaFileAssociation expectedSchemaAssociation = new XmlSchemaFileAssociation(".bar", "http://bar", "modified-prefix");

            Assert.AreEqual(expectedSchemaAssociation, associations.GetSchemaFileAssociation(".bar"));
        }
        public void UnknownFileExtensionReturnsEmptySchemaAssociation()
        {
            XmlSchemaFileAssociation expectedSchemaAssociation = new XmlSchemaFileAssociation(String.Empty, String.Empty, String.Empty);

            Assert.AreEqual(expectedSchemaAssociation, associations.GetSchemaFileAssociation(".unknown"));
        }