public void TestStart()
 {
     Assert.IsFalse(browser.IsActive, "Idle");
     browser.Start();
     Assert.IsTrue(browser.IsActive, "Active");
     browser.Cancel();
     Assert.IsFalse(browser.IsActive, "Cancel");
 }
 public void TestStartNoQ()
 {
     using (var newBrowser = new NWBrowser(descriptor))
         Assert.Throws <InvalidOperationException> (() => newBrowser.Start());
 }