public EnableBatchTaskCommandTests(Xunit.Abstractions.ITestOutputHelper output) { ServiceManagement.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagement.Common.Models.XunitTracingInterceptor(output)); batchClientMock = new Mock <BatchClient>(); commandRuntimeMock = new Mock <ICommandRuntime>(); cmdlet = new EnableBatchTaskCommand() { CommandRuntime = commandRuntimeMock.Object, BatchClient = batchClientMock.Object, }; }
public EnableBatchTaskCommandTests(Xunit.Abstractions.ITestOutputHelper output) { ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new ServiceManagemenet.Common.Models.XunitTracingInterceptor(output)); batchClientMock = new Mock<BatchClient>(); commandRuntimeMock = new Mock<ICommandRuntime>(); cmdlet = new EnableBatchTaskCommand() { CommandRuntime = commandRuntimeMock.Object, BatchClient = batchClientMock.Object, }; }