internal static IList<IInterceptor> GetInterceptors()
        {
            if (isRecording)
            {
                recorder = new RecordingInterceptor();
                return new List<IInterceptor>{ recorder };
            }

            return interceptors;
        }
 public static void Clear()
 {
     isRecording = false;
     recorder = null;
     interceptors.Clear();
 }