Inheritance: Microsoft.Azure.Commands.HDInsight.Commands.HDInsightCmdletBase
 public DataLakeStoreTests()
 {
     base.SetupTestsForManagement();
     _httpCred = new PSCredential("hadoopuser", string.Format("Password1!").ConvertToSecureString());
     cmdlet = new NewAzureHDInsightClusterCommand
     {
         CommandRuntime = commandRuntimeMock.Object,
         HDInsightManagementClient = hdinsightManagementMock.Object
     };
 }
Ejemplo n.º 2
0
 public DataLakeStoreTests(Xunit.Abstractions.ITestOutputHelper output)
 {
     XunitTracingInterceptor.AddToContext(new XunitTracingInterceptor(output));
     base.SetupTestsForManagement();
     _httpCred = new PSCredential("hadoopuser", string.Format("Password1!").ConvertToSecureString());
     cmdlet = new NewAzureHDInsightClusterCommand
     {
         CommandRuntime = commandRuntimeMock.Object,
         HDInsightManagementClient = hdinsightManagementMock.Object
     };
     AzureHDInsightconfigMock = new Mock<AzureHDInsightConfig>();
 }