protected override void Arrange()
        {
            this.continueEvent = new SemaphoreSlim(0, 1);
            this.wrappedListener = new WrappedTraceListener(false, this.continueEvent);
            this.wrapper = new AsynchronousTraceListenerWrapper(this.wrappedListener, bufferSize: 10, disposeTimeout: TimeSpan.Zero);

            this.wrapper.TraceData(new TraceEventCache(), "test", TraceEventType.Error, 1, 1);
            this.wrapper.TraceData(new TraceEventCache(), "test", TraceEventType.Error, 2, 2);
            this.wrapper.TraceData(new TraceEventCache(), "test", TraceEventType.Error, 3, 3);
            this.wrapper.TraceData(new TraceEventCache(), "test", TraceEventType.Error, 4, 4);
            this.wrapper.TraceData(new TraceEventCache(), "test", TraceEventType.Error, 5, 5);
            this.wrapper.TraceData(new TraceEventCache(), "test", TraceEventType.Error, 6, 6);
            this.wrapper.TraceData(new TraceEventCache(), "test", TraceEventType.Error, 7, 7);
            this.wrapper.TraceData(new TraceEventCache(), "test", TraceEventType.Error, 8, 8);
        }
 protected override void Arrange()
 {
     this.continueEvent = new SemaphoreSlim(0, 1);
     this.wrappedListener = new WrappedTraceListener(false, this.continueEvent);
     this.wrapper = new AsynchronousTraceListenerWrapper(this.wrappedListener, ownsWrappedTraceListener: false, bufferSize: 10);
 }
 protected override void Arrange()
 {
     this.continueEvent = new SemaphoreSlim(0, 2);
     this.wrappedListener = new WrappedTraceListener(true, this.continueEvent);
     this.wrapper = new AsynchronousTraceListenerWrapper(this.wrappedListener, bufferSize: 10, maxDegreeOfParallelism: 2);
 }