Пример #1
0
        public void WithSessionizeUrlNull_Scrape_ThrowsArgumentNullException()
        {
            var scraper = new Scraper();

            var exception = Assert.Throws <ArgumentNullException>(() => scraper.Scrape(null));

            Assert.Equal(URL_PARAMETER_NAME, exception.ParamName);
        }
Пример #2
0
        public void WithValidSessionizeUrl_Scrape_ReturnsSessionizeData()
        {
            var scraper = new Scraper();

            var result = scraper.Scrape(new Uri("https://sessionize.com/build-stuff-2021-lithuania"));

            Assert.NotNull(result);
            // TODO Implement actual asserts
        }