public void PageSource_returnsWebDriverPageSource() { _autoMoqer.GetMock <IWebDriver>() .Setup(s => s.PageSource) .Returns("Foo Html"); Assert.AreEqual("Foo Html", _seleniumBrowser.PageSource()); }