public IEnumerator TestGetSentimentModel()
        {
            Log.Debug("NaturalLanguageUnderstandingServiceV1IntegrationTests", "Attempting to GetSentimentModel...");
            SentimentModel createSentimentModelResponse = null;
            string         modelId      = "";
            MemoryStream   trainingData = new MemoryStream(ASCIIEncoding.Default.GetBytes("This is a mock file."));

            service.CreateSentimentModel(
                callback: (DetailedResponse <SentimentModel> response, IBMError error) =>
            {
                Log.Debug("NaturalLanguageUnderstandingServiceV1IntegrationTests", "CreateSentimentModel result: {0}", response.Response);
                createSentimentModelResponse = response.Result;
                Assert.IsNotNull(createSentimentModelResponse);
                Assert.AreEqual(createSentimentModelResponse.Name, "testString");
                Assert.AreEqual(createSentimentModelResponse.Language, "en");
                Assert.AreEqual(createSentimentModelResponse.Description, "testString");
                Assert.AreEqual(createSentimentModelResponse.ModelVersion, "testString");
                Assert.AreEqual(createSentimentModelResponse.VersionDescription, "testString");
                Assert.IsNull(error);

                modelId = createSentimentModelResponse.ModelId;
            },
                language: "en",
                trainingData: trainingData,
                name: "testString",
                description: "testString",
                modelVersion: "testString",
                versionDescription: "testString"
                );

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

            SentimentModel getSentimentModel = null;

            service.GetSentimentModel(
                callback: (DetailedResponse <SentimentModel> response, IBMError error) =>
            {
                Log.Debug("NaturalLanguageUnderstandingServiceV1IntegrationTests", "GetSentimentModel result: {0}", response.Response);
                getSentimentModel = response.Result;
                Assert.IsNotNull(getSentimentModel);
                Assert.AreEqual(getSentimentModel.Name, "testString");
                Assert.AreEqual(getSentimentModel.Language, "en");
                Assert.AreEqual(getSentimentModel.Description, "testString");
                Assert.AreEqual(getSentimentModel.ModelVersion, "testString");
                Assert.AreEqual(getSentimentModel.VersionDescription, "testString");
                Assert.IsNull(error);
            },
                modelId: modelId
                );

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

            DeleteModelResults deleteModelResults = null;

            service.DeleteSentimentModel(
                callback: (DetailedResponse <DeleteModelResults> response, IBMError error) =>
            {
                Log.Debug("NaturalLanguageUnderstandingServiceV1IntegrationTests", "DeleteSentimentModel result: {0}", response.Response);
                deleteModelResults = response.Result;
                Assert.IsNull(error);
            },
                modelId: modelId
                );

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