Exemplo n.º 1
0
 public Engine(EngineConfiguration configuration)
 {
     _configuration = configuration;
     IOCInit();
     _engineImp            = _kernel.Get <IEngineImplementation>();
     _recordedMethodHelper = _kernel.Get <IRecordedMethodHelper>();
 }
Exemplo n.º 2
0
        //TODO: add new dal helper
        public ExecutionRecorderProcess(IRecordingMethodManager recordingMethodManager, IRecordedMethodHelper dataHelper)
        {
            _methodManager = recordingMethodManager;
            _methodManager.MethodRecordingComplete += _methodManager_MethodRecordingComplete;

            _dataHelper = dataHelper;
        }
Exemplo n.º 3
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;
        }