예제 #1
0
 public void BeforeScenario()
 {
     Wrapper.Open(ProxyAdministration);
     Wrapper.RegisterRecording(new CallTemplate {
         Method = "POST"
     });
     Wrapper.RegisterRecording(new CallTemplate {
         Method = "PUT"
     });
     ProxySteps.AddDefault("Host", Wrapper.ProxyUri.ToString());
 }
예제 #2
0
 public SlipkaSteps(IObjectContainer objectContainer) : base(objectContainer)
 {
     ProxySteps          = new ProxySteps(objectContainer);
     ProxyAdministration = new Uri("http://localhost:4445");
     Wrapper             = new ProxyWrapper(ProxyAdministration);
 }