public IEnumerator TestCreateSentimentModel()
        {
            Log.Debug("NaturalLanguageUnderstandingServiceV1IntegrationTests", "Attempting to CreateSentimentModel...");
            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);
            }

            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);
            }
        }