Inheritance: IWebBrowserServices
 public void ExternaBrowser() {
     var vswbs = Substitute.For<IVsWebBrowsingService>();
     var ps = Substitute.For<IProcessServices>();
     var settings = Substitute.For<IRToolsSettings>();
     
     var wbs = new WebBrowserServices(vswbs, ps, settings);
     wbs.OpenBrowser(WebBrowserRole.External, _url);
     ps.Received().Start(_url);
 }
        public void RunBrowserTest(WebBrowserRole role, Guid guid, string title, IRToolsSettings externalSettings, IRToolsSettings internalSettings) {
            var vswbs = Substitute.For<IVsWebBrowsingService>();
            var ps = Substitute.For<IProcessServices>();

            var wbs = new WebBrowserServices(vswbs, ps, externalSettings);
            wbs.OpenBrowser(role, _url);
            ps.Received().Start(_url);

            ps.ClearReceivedCalls();
            wbs = new WebBrowserServices(vswbs, ps, internalSettings);
            wbs.OpenBrowser(role, _url);

            UIThreadHelper.Instance.DoEvents();
            ps.DidNotReceive().Start(_url);

            IVsWebBrowser vswb;
            IVsWindowFrame frame;
            vswbs.Received().CreateWebBrowser(Arg.Any<uint>(), guid, title, _url, null, out vswb, out frame);
        }