public void TranslateWithExceptionHandlerInstance()
        {
            TranslationExceptionHandler exHandler = new TranslationExceptionHandler();
            IList exceptionNames = new ArrayList();

            exceptionNames.Add("ArithmeticException");
            exHandler.SourceExceptionNames = exceptionNames;
            exHandler.ActionExpressionText =
                "new System.InvalidOperationException('My Message, Method Name ' + #method.Name, #e)";
            ITestObject to = CreateTestObjectProxy(exHandler);

            AssertTranslation(to);
        }
 public void TranslateWithExceptionHandlerInstance()
 {
     TranslationExceptionHandler exHandler = new TranslationExceptionHandler();
     IList exceptionNames = new ArrayList();
     exceptionNames.Add("ArithmeticException");
     exHandler.SourceExceptionNames = exceptionNames;
     exHandler.ActionExpressionText =
         "new System.InvalidOperationException('My Message, Method Name ' + #method.Name, #e)";
     ITestObject to = CreateTestObjectProxy(exHandler);
     AssertTranslation(to);
 }