Пример #1
0
        public void GetResponseByIdAsString()
        {
            string id = "629634";

            var           content = singleService.GetCurrentWeatherById(id);
            ContentReader cr      = new ContentReader(content);

            Assert.That(cr.GetName(), Is.EqualTo("Brest"), "That is another city");
            Assert.That(cr.GetMainTemp(), Is.GreaterThan(0), "It's unexpected cold today as for Brest");
        }