Пример #1
0
        public void BrowserHandler_GetDownloadHandler_False()
        {
            //------------Setup for test--------------------------
            var handler         = new BrowserHandler(new Mock <IBrowserPopupController>().Object);
            var downloadHandler = new Mock <IDownloadHandler>().Object;

            //------------Execute Test---------------------------
            var result = handler.GetDownloadHandler(new Mock <IWebBrowser>().Object, "", "", 0, ref downloadHandler);

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