protected void InitializeFixture() { AllFolders.ForEach( d => { if (!Directory.Exists(d)) { _logger.Debug($"Creating folder '{d}'."); Directory.CreateDirectory(d); } }); AllDependantOrchestrationTypes.ForEach(ot => { new Orchestration(ot).EnsureStarted(); }); }
protected void BizTalkFactoryProcessFixtureTestFixtureSetUp() { AllFolders.Each( d => { if (!Directory.Exists(d)) { _logger.FineFormat("Creating folder '{0}'.", d); Directory.CreateDirectory(d); } }); AllDependantOrchestrationTypes.Each(ot => { new Orchestration(ot).EnsureStarted(); }); }
protected void TerminateFixture() { AllDependantOrchestrationTypes.Reverse().ForEach(ot => { new Orchestration(ot).EnsureUnenlisted(); }); }
public void BizTalkFactoryOrchestrationFixtureOneTimeTearDown() { // reverse the list to stop the dependant orchestrations AllDependantOrchestrationTypes.Reverse().Each(ot => { new Orchestration(ot).EnsureUnenlisted(); }); }