public void TestClearHistory() { BrowserTyped browser = new BrowserTyped(); browser.Navigate <dynamic>("http://google.com"); Assert.True(browser.History.Count == 1); browser.ClearHistory(); Assert.True(browser.History.Count == 0); }