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(); } }
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(); } }