public void Test1()
        {
            var engine = new WikipediaEngine();

            TestDelegate td = () => engine.GetResults("xxx").GetAwaiter().GetResult();

            Assert.DoesNotThrow(td);
        }
Example #2
0
        public void GetResults_ShouldNotThrow()
        {
            var engine = new WikipediaEngine();

            AsyncTestDelegate td = async() => await engine.GetSearchResults("xxx");

            Assert.DoesNotThrowAsync(td);
        }