コード例 #1
0
 public StopBatchJobScheduleCommandTests()
 {
     batchClientMock    = new Mock <BatchClient>();
     commandRuntimeMock = new Mock <ICommandRuntime>();
     cmdlet             = new StopBatchJobScheduleCommand()
     {
         CommandRuntime = commandRuntimeMock.Object,
         BatchClient    = batchClientMock.Object,
     };
 }
コード例 #2
0
 public StopBatchJobScheduleCommandTests()
 {
     batchClientMock = new Mock<BatchClient>();
     commandRuntimeMock = new Mock<ICommandRuntime>();
     cmdlet = new StopBatchJobScheduleCommand()
     {
         CommandRuntime = commandRuntimeMock.Object,
         BatchClient = batchClientMock.Object,
     };
 }
 public StopBatchJobScheduleCommandTests(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 StopBatchJobScheduleCommand()
     {
         CommandRuntime = commandRuntimeMock.Object,
         BatchClient    = batchClientMock.Object,
     };
 }
コード例 #4
0
 public StopBatchJobScheduleCommandTests(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 StopBatchJobScheduleCommand()
     {
         CommandRuntime = commandRuntimeMock.Object,
         BatchClient = batchClientMock.Object,
     };
 }