示例#1
0
        //TODO: add new dal helper
        public ExecutionRecorderProcess(IRecordingMethodManager recordingMethodManager, IRecordedMethodHelper dataHelper)
        {
            _methodManager = recordingMethodManager;
            _methodManager.MethodRecordingComplete += _methodManager_MethodRecordingComplete;

            _dataHelper = dataHelper;
        }
示例#2
0
        public void Setup()
        {
            var data = TestClass.Method1Entry;

            _entryModel   = new InterceptionEntryModel(data.TargetInstance, data.MethodArgs, data.Method);
            _methodHelper = new Mock <IRecordedMethodHelper>().Object;
            _manager      = new Mock <IRecordingMethodManager>().Object;
        }