title: Castle Dynamic Proxy not working?
body: <p>I have the following class:</p>
  
  <pre><code>public class MyTest
  {
      public void Test()
      {
  
      }
  }
  </code></pre>
  
  <p>and I created the following interceptor:</p>
  
  <pre><code>public class MyInterceptor : IInterceptor
  {
      public void Intercept(IInvocation invocation)
      {
          invocation.Proceed();
      }
  }
  </code></pre>
  
  <p>and in my code, I do:</p>
  
  <pre><code>        ProxyGenerator g = new ProxyGenerator();
  
          g.CreateClassProxy&lt;MyTest&gt;(new MyInterceptor());
  
          MyTest t = new MyTest();
          t.Test();
  </code></pre>
  
  <p>Shouldn't that hit the Intercept method in the debugger? It is not. Am I missing something?</p>
  
  <p>EDIT: this is specific to Castle DynamicProxy.</p>