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