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