예제 #1
0
        public StartedHttpMock(IHttpListenerWrapper httpListenerWrapper, IHandlingMockQueue handlingMockQueue)
        {
            this.httpListenerWrapper = httpListenerWrapper;
            this.handlingMockQueue   = handlingMockQueue;

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