public RemoveAzureStoreAddOnTests()
 {
     new FileSystemHelper(this).CreateAzureSdkDirectoryAndImportPublishSettings();
     mockCommandRuntime = new Mock <ICommandRuntime>();
     mockStoreClient    = new Mock <StoreClient>();
     mockConfirmation   = new Mock <PowerShellCustomConfirmation>();
     cmdlet             = new RemoveAzureStoreAddOnCommand()
     {
         StoreClient        = mockStoreClient.Object,
         CommandRuntime     = mockCommandRuntime.Object,
         CustomConfirmation = mockConfirmation.Object
     };
 }
 public void SetupTest()
 {
     new FileSystemHelper(this).CreateAzureSdkDirectoryAndImportPublishSettings();
     mockCommandRuntime = new Mock<ICommandRuntime>();
     mockStoreClient = new Mock<StoreClient>();
     mockConfirmation = new Mock<PowerShellCustomConfirmation>();
     cmdlet = new RemoveAzureStoreAddOnCommand()
     {
         StoreClient = mockStoreClient.Object,
         CommandRuntime = mockCommandRuntime.Object,
         CustomConfirmation = mockConfirmation.Object
     };
 }
Exemplo n.º 3
0
 public void SetupTest()
 {
     CmdletSubscriptionExtensions.SessionManager = new InMemorySessionManager();
     new FileSystemHelper(this).CreateAzureSdkDirectoryAndImportPublishSettings();
     mockCommandRuntime = new Mock <ICommandRuntime>();
     mockStoreClient    = new Mock <StoreClient>();
     mockConfirmation   = new Mock <PowerShellCustomConfirmation>();
     cmdlet             = new RemoveAzureStoreAddOnCommand()
     {
         StoreClient        = mockStoreClient.Object,
         CommandRuntime     = mockCommandRuntime.Object,
         CustomConfirmation = mockConfirmation.Object
     };
 }