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); }