public async Task CreateShouldCreateFirewallForTheRightServerFullyQualifiedName() { ServiceTestContext testContext = new ServiceTestContext(); string serverNameWithDifferentDomain = testContext.ServerNameWithoutDomain + ".myaliased.domain.name"; testContext.ServerName = serverNameWithDifferentDomain; testContext.Initialize(); testContext = CreateMocks(testContext); await VerifyCreateAsync(testContext, testContext.ServerName); }
public async Task CreateShouldFindTheRightSubscriptionGivenValidSubscriptionInSecondPlace() { ServiceTestContext testContext = new ServiceTestContext(); testContext.Subscriptions = new List <IAzureUserAccountSubscriptionContext> { ServiceTestContext.CreateSubscriptionContext(), testContext.ValidSubscription, ServiceTestContext.CreateSubscriptionContext(), }; testContext.Initialize(); testContext = CreateMocks(testContext); await VerifyCreateAsync(testContext, testContext.ServerName); }