public ARMOrchestartionFixture() { workerHost = TestHelper.CreateHostBuilder(null).Build(); workerHost.RunAsync(); OrchestrationWorker = workerHost.Services.GetService <OrchestrationWorker>(); OrchestrationWorkerClient = workerHost.Services.GetService <OrchestrationWorkerClient>(); this.ARMFunctions = workerHost.Services.GetService <ARMFunctions>(); this.ARMOrchestrationClient = workerHost.Services.GetService <ARMOrchestrationClient>(); this.ServiceProvider = workerHost.Services; }
public ARMOrchestrationClientTest(ARMOrchestartionFixture fixture) { this._Fixture = fixture; this._Client = this._Fixture.ServiceProvider.GetService<ARMOrchestrationClient>(); }