/// <summary>
 /// Reads the configuration from the configuration file and updates the values in the model to use the new configuration.
 /// </summary>
 public void ReadConfigurationFromFile()
 {
     if (_repositoryService != null)
     {
         try
         {
             _repositoryService.ReadConfigurationFromFile();
         }
         catch (Exception ex)
         {
             // TODO: Log exception.
         }
     }
     else
     {
         // TODO: Log that repository service is not present.
     }
 }
 public void TestReadConfigurationFromFile()
 {
     Assert.AreEqual(_deploymentService.AllRepositories.Count(), 0, "There are repositories available before reading the configuration file, which should never happen.");
     _deploymentService.ReadConfigurationFromFile();
     Assert.Greater(_deploymentService.AllRepositories.Count(), 0, "No repositories have been reported as available after configuration file has been read, when there should've been at least one.");
 }