public Engine(EngineConfiguration configuration) { _configuration = configuration; IOCInit(); _engineImp = _kernel.Get <IEngineImplementation>(); _recordedMethodHelper = _kernel.Get <IRecordedMethodHelper>(); }
//TODO: add new dal helper public ExecutionRecorderProcess(IRecordingMethodManager recordingMethodManager, IRecordedMethodHelper dataHelper) { _methodManager = recordingMethodManager; _methodManager.MethodRecordingComplete += _methodManager_MethodRecordingComplete; _dataHelper = dataHelper; }
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; }