コード例 #1
0
        public void BrowserHandler_GetAuthCredentials_SchemeIsNull_False()
        {
            //------------Setup for test--------------------------
            var handler = new BrowserHandler(new Mock <IBrowserPopupController>().Object);

            //------------Execute Test---------------------------
            var password = "";
            var username = "";
            var result   = handler.GetAuthCredentials(new Mock <IWebBrowser>().Object, false, "", 0, "", null, ref username, ref password);

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