示例#1
0
        public void TestYouTubeSearchAnswer()
        {
            var a = new  SearchYoutube();
              var b =a.Run("מדריך לקניית דירה");
              Assert.IsNotNull(b);

            //var a = new DataContext();
            ////var l = new ();
            //var add = new Suggestions.SeggestAnswer()
            //{
            //    SeggestAnswerId = 1,
            //    Query = "text",
            //    Answers = new Suggestions.Seggest[] { new Suggestions.Seggest { answer = "aaaa" } }
            //};
            //a.AddNewSeggestAnswer(add);
            //Assert.IsTrue(a.GetAllSeggestAnswer().Contains(add)!=null);
        }