OnBeforeResourceLoad() public méthode

public OnBeforeResourceLoad ( IWebBrowser browser, IRequestResponse requestResponse ) : bool
browser IWebBrowser
requestResponse IRequestResponse
Résultat bool
        public void BrowserHandler_OnBeforeResourceLoad_False()
        {
            //------------Setup for test--------------------------
            var handler = new BrowserHandler(new Mock<IBrowserPopupController>().Object);

            //------------Execute Test---------------------------
            var result = handler.OnBeforeResourceLoad(new Mock<IWebBrowser>().Object, new Mock<IRequestResponse>().Object);

            //------------Assert Results-------------------------
            Assert.IsFalse(result);
        }