private void Given_recording_proxy_for_target_server() { _proxy = new RecordingHttpProxy(MockHttpServerHelper.GetNextPort(), _server.BaseAddress, RecordingHttpProxy.Mode.Record, new RecordedHttpCallRepository(_recordingsRepositoryPath)); }
private void Given_mock_http_server() { _server = MockHttpServer.Start(MockHttpServerHelper.GetNextPort(), cfg => cfg); }
private void Given_target_mock_http_server() { _server = MockHttpServer.Start(MockHttpServerHelper.GetNextPort()); }