private NetworkManagementClient GetNetworkManagementClient(RestTestFramework.MockContext context)
 {
     return context.GetServiceClient<NetworkManagementClient>(RestTestFramework.TestEnvironmentFactory.GetTestEnvironment());
 }
Ejemplo n.º 2
0
 private CognitiveServicesManagementClient GetCognitiveServicesManagementClient(RestTestFramework.MockContext context)
 {
     return context.GetServiceClient<CognitiveServicesManagementClient>(RestTestFramework.TestEnvironmentFactory.GetTestEnvironment());
 }
 private ComputeManagementClient GetComputeManagementClient(RestTestFramework.MockContext context)
 {
     return testViaCsm
         ? context.GetServiceClient<ComputeManagementClient>(RestTestFramework.TestEnvironmentFactory.GetTestEnvironment())
         : TestBase.GetServiceClient<ComputeManagementClient>(new RDFETestEnvironmentFactory());
 }