public void InterceptAllMethods_Test()
 {
     Assert.ThrowsException <Exception>(() =>
     {
         var testClass = new TypeWideMethodTestClass();
         testClass.Method1();
     });
 }
        public void InterceptAllMethods_Test()
        {
            var testClass = new TypeWideMethodTestClass();

            testClass.Method1();
        }