public void TestTearDownAfterTest() { var browser = new Mock <IBrowser>(MockBehavior.Strict); browser.Setup(b => b.Close(true)); WebDriverSupport.SetCurrentBrowser(browser.Object); WebDriverSupport.TearDownAfterTest(); browser.VerifyAll(); }
public void TestTearDownAfterTest() { var browser = new Mock <IBrowser>(MockBehavior.Strict); browser.Setup(b => b.Close(true)); WebDriverSupport.SetCurrentBrowser(browser.Object); WebDriverSupport.TearDownAfterTest(); browser.VerifyAll(); }