public StartedHttpMock(IHttpListenerWrapper httpListenerWrapper, IHandlingMockQueue handlingMockQueue) { this.httpListenerWrapper = httpListenerWrapper; this.handlingMockQueue = handlingMockQueue; httpMockDebugLogger = new ConsoleHttpMockDebugLogger(); verificationMockResults = new List <VerificationResult>(); stated = true; listenHttpMockTask = StartAsync(); }
public IStartedHttpMock Create(IHttpListenerWrapper httpListenerWrapper, IHandlingMockQueue handlingMockQueue) { return(new StartedHttpMock(httpListenerWrapper, handlingMockQueue)); }