Пример #1
0
        public void TestTearDownAfterTest()
        {
            var browser = new Mock <IBrowser>(MockBehavior.Strict);

            browser.Setup(b => b.Close(true));
            WebDriverSupport.SetCurrentBrowser(browser.Object);

            WebDriverSupport.TearDownAfterTest();

            browser.VerifyAll();
        }