private void AssertExpectedValue(TestData expected) { var command = new SetAzureStorageAccountCommand { Channel = channel, CommandRuntime = new MockCommandRuntime(), ShareChannel = true, CurrentSubscription = new WindowsAzureSubscription { SubscriptionId = expected.SubscriptionId }, StorageAccountName = expected.StorageServiceName, Description = expected.UpdateStorageServiceInput.Description, Label = expected.UpdateStorageServiceInput.Label, GeoReplicationEnabled = expected.UpdateStorageServiceInput.GeoReplicationEnabled }; command.SetStorageAccountProcess(); Assert.AreEqual(expected.ToString(), found.ToString()); }
private void AssertExpectedValue(TestData expected) { var command = new SetAzureStorageAccountCommand(channel) { CommandRuntime = new MockCommandRuntime(), ShareChannel = true, CurrentSubscription = new SubscriptionData { SubscriptionId = expected.SubscriptionId }, StorageAccountName = expected.StorageServiceName, Description = expected.UpdateStorageServiceInput.Description, Label = expected.UpdateStorageServiceInput.Label, GeoReplicationEnabled = expected.UpdateStorageServiceInput.GeoReplicationEnabled }; command.SetStorageAccountProcess(); Assert.AreEqual(expected.ToString(), found.ToString()); }