public TestBatchAutoScaleCommandTests()
 {
     batchClientMock = new Mock<BatchClient>();
     commandRuntimeMock = new Mock<ICommandRuntime>();
     cmdlet = new TestBatchAutoScaleCommand()
     {
         CommandRuntime = commandRuntimeMock.Object,
         BatchClient = batchClientMock.Object,
     };
 }
Example #2
0
 public TestBatchAutoScaleCommandTests()
 {
     batchClientMock    = new Mock <BatchClient>();
     commandRuntimeMock = new Mock <ICommandRuntime>();
     cmdlet             = new TestBatchAutoScaleCommand()
     {
         CommandRuntime = commandRuntimeMock.Object,
         BatchClient    = batchClientMock.Object,
     };
 }
Example #3
0
 public TestBatchAutoScaleCommandTests(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 TestBatchAutoScaleCommand()
     {
         CommandRuntime = commandRuntimeMock.Object,
         BatchClient    = batchClientMock.Object,
     };
 }
 public TestBatchAutoScaleCommandTests(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 TestBatchAutoScaleCommand()
     {
         CommandRuntime = commandRuntimeMock.Object,
         BatchClient = batchClientMock.Object,
     };
 }