/// <summary>
 /// Create a test job of the runbook.  (see
 /// http://aka.ms/azureautomationsdk/testjoboperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Automation.ITestJobOperations.
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters supplied to the create test job operation.
 /// </param>
 /// <returns>
 /// The response model for the create test job operation.
 /// </returns>
 public static TestJobCreateResponse Create(this ITestJobOperations operations, string automationAccount, TestJobCreateParameters parameters)
 {
     return Task.Factory.StartNew((object s) => 
     {
         return ((ITestJobOperations)s).CreateAsync(automationAccount, parameters);
     }
     , operations, CancellationToken.None, TaskCreationOptions.None, TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
 }
 /// <summary>
 /// Create a test job of the runbook.  (see
 /// http://aka.ms/azureautomationsdk/testjoboperations for more
 /// information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Automation.ITestJobOperations.
 /// </param>
 /// <param name='automationAccount'>
 /// Required. The automation account name.
 /// </param>
 /// <param name='parameters'>
 /// Required. The parameters supplied to the create test job operation.
 /// </param>
 /// <returns>
 /// The response model for the create test job operation.
 /// </returns>
 public static Task<TestJobCreateResponse> CreateAsync(this ITestJobOperations operations, string automationAccount, TestJobCreateParameters parameters)
 {
     return operations.CreateAsync(automationAccount, parameters, CancellationToken.None);
 }