title: How to replace PostSharp Aspect with fake aspect for unit testing
body: <p>I have a class like the following:</p>
  
  <pre class="lang-cs prettyprint-override"><code>[Log]
  public class SomeClass
  {  }
  </code></pre>
  
  <p>With the <code>LogAttribute</code> being an <code>OnMethodBoundaryAspect</code> from PostSharp. I would like to have all instances of <code>LogAttribute</code> to be swapped out for some faked/mocked version of the aspect that does nothing so that I can unit test <code>SomeClass</code> independently of the aspect code running. I will leave the aspect functioning normally during my integration tests.
  Does anyone know how to achieve something similar to this?</p>
  
  <p>Note that this project is using Moq for the unit testing and Ninject for DI outside of the unit test project.</p>
  
  <p>Thanks!</p>