public void Setup() { var cfg = new EngineConfiguration().ForIsolatedTest(); _engine = Engine.Create<ProxyExceptionTestModel>(cfg); _proxy = _engine.GetProxy(); _callsToExecuting = 0; _callsToExecuted = 0; _engine.CommandExecuting += (sender, args) => _callsToExecuting++; _engine.CommandExecuted += (sender, args) => _callsToExecuted++; }
public void Setup() { var cfg = new EngineConfiguration().ForIsolatedTest(); _engine = Engine.Create <ProxyExceptionTestModel>(cfg); _proxy = _engine.GetProxy(); _callsToExecuting = 0; _callsToExecuted = 0; _engine.CommandExecuting += (sender, args) => _callsToExecuting++; _engine.CommandExecuted += (sender, args) => _callsToExecuted++; }