public void URLResponseException()
 {
     try {
         var res = ScheduleDbInitializer.URLRequest("qwerty");
         Assert.Fail();
     }
     catch (UriFormatException) { }
 }
        public void GetGroupNotNull()
        {
            ScheduleDbInitializer.PageLoad(URL + "?timetable&group=11892");
            HtmlNodeCollection nodes = htmlDoc.DocumentNode.SelectNodes("//div[contains(@class, 'list') and contains(@class, 'col-md-2')]");
            List <Pair>        pairs = new List <Pair>();

            foreach (var node in nodes)
            {
                pairs.AddRange(ScheduleDbInitializer.GetPairs(node));
            }
            Assert.IsNotNull(pairs);
        }
        public void URLResponseNotNull()
        {
            var res = ScheduleDbInitializer.URLRequest(URL);

            Assert.IsNotNull(res);
        }