public void FindElementByLinkText_callSeleniumElementFactoryWithLinkTextLocator()
        {
            _seleniumBrowser.FindElementByLinkText("testElement");

            _autoMoqer.GetMock <ISeleniumElementFactory>()
            .Verify(
                v =>
                v.Create(It.IsAny <IWebDriver>(), It.Is <By>(b => b.ToString() == "By.LinkText: testElement"),
                         It.IsAny <SeleniumBrowser>()));
        }