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