public void LoadCatalogue()
 {
     using (var domain = new ConfigurationManagerDomain())
     {
         Feature.WithScenario("")
             .Given(domain.TheFileSystemScheduleRepositoryIsUsed, @"TestData\Config\Schedules")
                 .And(domain.TheConfigurationManagerIsInitialised)
             .When(domain.TheConfigurationCatalogueForTag_IsLoaded, "Test")
             .Then(domain.TheCatalogShouldContain_Item, 1)
             .ExecuteWithReport();
     }
 }
示例#2
0
 public void LoadCatalogue()
 {
     using (var domain = new ConfigurationManagerDomain())
     {
         Feature.WithScenario("")
         .Given(domain.TheFileSystemScheduleRepositoryIsUsed, @"TestData\Config\Schedules")
         .And(domain.TheConfigurationManagerIsInitialised)
         .When(domain.TheConfigurationCatalogueForTag_IsLoaded, "Test")
         .Then(domain.TheCatalogShouldContain_Item, 1)
         .ExecuteWithReport();
     }
 }