public ConfigFileSourceRepositoryProvider(ApplicationInformation applicationInformation, ISourceRepositoryConfigurationFactory sourceRepositoryConfigurationFactory, IFilesystemPersistence<SourceRepositoryConfiguration[]> filesystemPersistence)
        {
            if (applicationInformation == null)
            {
                throw new ArgumentNullException("applicationInformation");
            }

            if (sourceRepositoryConfigurationFactory == null)
            {
                throw new ArgumentNullException("sourceRepositoryConfigurationFactory");
            }

            if (filesystemPersistence == null)
            {
                throw new ArgumentNullException("filesystemPersistence");
            }

            this.applicationInformation = applicationInformation;
            this.sourceRepositoryConfigurationFactory = sourceRepositoryConfigurationFactory;
            this.filesystemPersistence = filesystemPersistence;
            this.sourceConfigurationFilePath = this.GetSourceConfigurationFilePath();
        }
 public void Setup()
 {
     this.sourceRepositoryConfigurationFactory = new SourceRepositoryConfigurationFactory();
 }