Exemplo n.º 1
0
        public void UrlIsNotAMatchWithPattern(string pattern, string address)
        {
            //Arrange & Act
            bool result = LocalWebProxy.AddressIsAMatch(address, pattern);

            //Assert
            result.Should().BeFalse();
        }
 public RunningWebProxy(ServicesKeyword servicesKeyword)
 {
     _runningApplication = RunningApplication.Instance();
     _webProxy           = new LocalWebProxy();
     ProxyIsEnabled      = servicesKeyword.ProgramConfiguration.Configuration.ProxyEnabled;
     ProxyIsRunning      = false;
     SetupWebProxyForProgramStart(servicesKeyword);
 }