public void ConstructorWithCredentialsTest() { Mock <TokenCloudCredentials> mockCredentials = CreateMockCredentials(); SubscriptionCloudCredentials creds = mockCredentials.Object; var client = new DataFactoryManagementClient(creds); DataFactoryManagementClientTests.ValidateClientWithCredentials(client, creds, mockCredentials); Assert.NotNull(client.BaseUri); Assert.NotNull(client.InternalClient.BaseUri); }
public void DefaultContructorTest() { var client = new DataFactoryManagementClient(); DataFactoryManagementClientTests.ValidateDefaultClientProperties(client); }