protected override void Given() { IoC.Container = new Container(); errorHandler = new RequestProcessingErrorHandler(new ServiceLayerConfiguration(IoC.Container)); request = new RequestA(); Context = new RequestProcessingContext(request); cacheManager = Stubbed<ICacheManager>(); Container.RegisterInstance(cacheManager); EstablishContext(); }
public PerformanceLoggingRequestProcessor(ServiceLayerConfiguration serviceLayerConfiguration, IRequestProcessingErrorHandler errorHandler) : base(serviceLayerConfiguration, errorHandler) { }
public RequestProcessor(ServiceLayerConfiguration serviceLayerConfiguration, IRequestProcessingErrorHandler errorHandler) { this.serviceLayerConfiguration = serviceLayerConfiguration; this.errorHandler = errorHandler; }