Beispiel #1
0
        public void SearchByPhoneTest()
        {
            var y       = new Yelp(Config.Options);
            var results = y.SearchByPhone("4159083801").Result;

            Assert.IsNotNull(results);
            Assert.IsNotNull(results.businesses);
            Assert.IsNotNull(results.businesses.FirstOrDefault());
            Assert.AreEqual <string>("yelp-san-francisco", results.businesses.First().id);
        }