Microsoft.WindowsAzure.MediaServices.Client.Tests.JobTests.ShouldSubmitAndFinishPlayReadyProtectionJobWithStorageAndConfigurationEncryption C# (CSharp) Method

ShouldSubmitAndFinishPlayReadyProtectionJobWithStorageAndConfigurationEncryption() private method

        public void ShouldSubmitAndFinishPlayReadyProtectionJobWithStorageAndConfigurationEncryption()
        {
            string configuration = File.ReadAllText(WindowsAzureMediaServicesTestConfiguration.PlayReadyConfig);

            IAsset asset = CreateSmoothAsset();
            IMediaProcessor mediaEncryptor = GetMediaProcessor(_mediaContext, WindowsAzureMediaServicesTestConfiguration.MpEncryptorName);
            IJob job = CreateAndSubmitOneTaskJob(_mediaContext, GenerateName("ShouldSubmitAndFinishPlayReadyProtectionJobWithStorageAndConfigurationEncryption"), mediaEncryptor, configuration, asset, TaskOptions.ProtectedConfiguration);
            WaitForJob(job.Id, JobState.Finished, VerifyAllTasksFinished);
        }
JobTests