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