Ejemplo n.º 1
0
        public void ClassifyTest_ResponseResultsListIsNotEmpty()
        {
            ReadCalls classifierService = new ReadCalls();
            string xmlRequest = XmlBuilder.BuildClassifyXML("פלאפל", "CuisinesTest");

            var response = classifierService.Classify(xmlRequest);

            Assert.IsTrue(response.Count > 0);
        }
Ejemplo n.º 2
0
        public void ClassifyTest_ResponseShouldNotBeNull()
        {
            ReadCalls classifierService = new ReadCalls();

            //string xmlQuery = XmlBuilder.ClassifyXML("פלאפל");

            var response = classifierService.Classify("פלאפל");

            Assert.IsNotNull(response);
        }