public void AddingNewUserSchemaDoesNotCreateUserDefinedSchemaDirectory()
        {
            XmlSchemaCompletion schema = new XmlSchemaCompletion();

            registeredXmlSchemas.AddUserSchema(schema);

            Assert.AreEqual(0, fileSystem.CreatedFolders.Count);
        }
        public void Init()
        {
            userDefinedSchemaFolder = @"c:\users\user\sharpdevelop\schemas";

            schema = LoadTestSchema();

            userSchemaAddedEventFiredCount = 0;
            fileSystem        = new MockFileSystem();
            factory           = new MockXmlSchemaCompletionDataFactory();
            registeredSchemas = new RegisteredXmlSchemas(new string[0], userDefinedSchemaFolder, fileSystem, factory);
            registeredSchemas.UserDefinedSchemaAdded += UserSchemaAdded;
            registeredSchemas.AddUserSchema(schema);
        }