private static void LogEvent(TestingEvent testingEvent, TestSketch testSketch)
        {
            var eventLogger = BehaviourRecorderPluginFactory <IProcessedEventSink> .CreatePlugin();

            int eventCount = EventSerialNumberGenerator.GenerateSerialNumber(testSketch.UniqueTestCaseIdentifier);

            eventLogger.Sink(testingEvent, testSketch.UniqueTestCaseIdentifier, eventCount);
        }
        private TestingEvent CreateEvent(EventSubType subType, string methodName)
        {
            var testSketchProvider = BehaviourRecorderPluginFactory <ITestSketchProvider> .CreatePlugin();

            TestingEvent testingEvent = new TestingEvent();

            testingEvent.TestSketch            = testSketchProvider.GetTestSketch();
            testingEvent.EventCausingAttribute = this;
            testingEvent.EventType             = _eventType;
            testingEvent.EventSubType          = subType;
            testingEvent.MethodName            = methodName;
            //TODO testingEvent.ParameterTypeValuePairs;
            //TODO testingEvent.ParameterTypeValuePairsToBeLogged;
            return(testingEvent);
        }