public RemoveHubTests()
        {
            base.SetupTest();

            cmdlet = new RemoveAzureDataFactoryHubCommand()
            {
                CommandRuntime = commandRuntimeMock.Object,
                DataFactoryClient = dataFactoriesClientMock.Object,
                Name = hubName,
                ResourceGroupName = ResourceGroupName,
                DataFactoryName = DataFactoryName,
                Force = true
            };
        }
Beispiel #2
0
        public RemoveHubTests()
        {
            base.SetupTest();

            cmdlet = new RemoveAzureDataFactoryHubCommand()
            {
                CommandRuntime    = commandRuntimeMock.Object,
                DataFactoryClient = dataFactoriesClientMock.Object,
                Name = hubName,
                ResourceGroupName = ResourceGroupName,
                DataFactoryName   = DataFactoryName,
                Force             = true
            };
        }
        public RemoveHubTests(Xunit.Abstractions.ITestOutputHelper output)
        {
            Azure.ServiceManagement.Common.Models.XunitTracingInterceptor.AddToContext(new Azure.ServiceManagement.Common.Models.XunitTracingInterceptor(output));
            base.SetupTest();

            cmdlet = new RemoveAzureDataFactoryHubCommand()
            {
                CommandRuntime    = commandRuntimeMock.Object,
                DataFactoryClient = dataFactoriesClientMock.Object,
                Name = hubName,
                ResourceGroupName = ResourceGroupName,
                DataFactoryName   = DataFactoryName,
                Force             = true
            };
        }
        public RemoveHubTests(Xunit.Abstractions.ITestOutputHelper output)
        {
            Azure.ServiceManagemenet.Common.Models.XunitTracingInterceptor.AddToContext(new Azure.ServiceManagemenet.Common.Models.XunitTracingInterceptor(output));
            base.SetupTest();

            cmdlet = new RemoveAzureDataFactoryHubCommand()
            {
                CommandRuntime = commandRuntimeMock.Object,
                DataFactoryClient = dataFactoriesClientMock.Object,
                Name = hubName,
                ResourceGroupName = ResourceGroupName,
                DataFactoryName = DataFactoryName,
                Force = true
            };
        }