public IEnumerator TestAddCustomPrompts()
        {
            Log.Debug("TextToSpeechServiceV1IntegrationTests", "Attempting to AddCustomPrompts...");
            CustomModel customModel     = null;
            string      customizationId = "";

            service.CreateCustomModel(
                callback: (DetailedResponse <CustomModel> response, IBMError error) =>
            {
                Log.Debug("TextToSpeechServiceV1IntegrationTests", "CreateCustomModel result: {0}", response.Response);
                customModel = response.Result;
                Assert.IsNotNull(customModel);
                Assert.IsNull(error);
                customizationId = customModel.CustomizationId;
            },
                description: "testString",
                name: "testString",
                language: "en-US"
                );

            while (customModel == null)
            {
                yield return(null);
            }

            PromptMetadata promptMetadata = new PromptMetadata()
            {
                PromptText = "promptText"
            };

            MemoryStream file = new MemoryStream();
            FileStream   fs   = File.OpenRead(wavFilePath);

            fs.CopyTo(file);
            Prompt prompt = null;

            service.AddCustomPrompt(
                callback: (DetailedResponse <Prompt> response, IBMError error) =>
            {
                Log.Debug("TextToSpeechServiceV1IntegrationTests", "AddCustomPrompt result: {0}", response.Response);
                prompt = response.Result;
                Assert.IsNotNull(prompt);
                Assert.IsNotNull(prompt.Status);
                Assert.IsNull(error);
            },
                customizationId: customizationId,
                promptId: "testId",
                metadata: promptMetadata,
                file: file
                );

            while (prompt == null)
            {
                yield return(null);
            }

            bool isComplete = false;

            service.DeleteCustomModel(
                callback: (DetailedResponse <object> response, IBMError error) =>
            {
                Log.Debug("TextToSpeechServiceV1IntegrationTests", "DeleteCustomModel result: {0}", response.Response);
                Assert.IsTrue(response.StatusCode == 204);
                Assert.IsNull(error);
                isComplete = true;
            },
                customizationId: customizationId
                );

            while (!isComplete)
            {
                yield return(null);
            }
        }