public void SetUp() { exceptionHandlerExecutedCallbackCalled = false; exceptionHandledCallbackCalled = false; var handlers = new List<IExceptionHandler> { new MockExceptionHandler(new NameValueCollection()) }; var instrumentationProvider = new TestInstrumentationProvider(this); policyEntry = new ExceptionPolicyEntry(typeof(Exception), PostHandlingAction.None, handlers, instrumentationProvider); }
public void SetUp() { exceptionHandlerExecutedCallbackCalled = false; exceptionHandledCallbackCalled = false; var handlers = new List <IExceptionHandler> { new MockExceptionHandler(new NameValueCollection()) }; var instrumentationProvider = new TestInstrumentationProvider(this); policyEntry = new ExceptionPolicyEntry(typeof(Exception), PostHandlingAction.None, handlers, instrumentationProvider); }