Ejemplo n.º 1
0
 public GetBatchPoolUsageMetricsCommandTests(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 GetBatchPoolUsageMetrics()
     {
         CommandRuntime = commandRuntimeMock.Object,
         BatchClient    = batchClientMock.Object,
     };
 }
 public GetBatchPoolUsageMetricsCommandTests(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 GetBatchPoolUsageMetrics()
     {
         CommandRuntime = commandRuntimeMock.Object,
         BatchClient = batchClientMock.Object,
     };
 }