Exemplo n.º 1
0
        public void UrlIsAvailableToCrawl()
        {
            Reader _reader = new Reader(logger.Object);

            _reader.ParseRobotsTxt(defaultQueryAddress);

            var isAvailableToCrawl = _reader.URLIsAllowed(availableToCrawl);

            Assert.True(isAvailableToCrawl);
        }