title: Is there a way to pass delegates to a NUnit TestCase or TestFixture?
body: <p>Basically I want to be able to plug-in methods to a TestCase or TestFixture in NUnit to vary the behavior.  In essence I want to do this:</p>
  
  <pre><code>[TestFixture]
  public class MethodTests
  {
      public delegate void SimpleDelegate();
  
      public static void A()
      {
          // Do something meaningful
      }
  
      public static void B()
      {
          // Do something meaningful
      }
  
      public static void C()
      {
          // Do something meaningful
      }
  
      [TestCase(A,B,C)]
      [TestCase(C,A,B)]
      [TestCase(C,B,A)]
      public void Test(SimpleDelegate action1, SimpleDelegate action2, SimpleDelegate action3 )
      {
          action1();
          action2();
          action3();
      }
  }
  </code></pre>
  
  <p>The errors I get back for [TestCase(A,B,C)] are</p>
  
  <ul>
  <li>Error    6   Argument 1: cannot convert from 'method group' to 'object'</li>
  <li>Error    7   Argument 2: cannot convert from 'method group' to 'object'</li>
  <li>Error    8   Argument 3: cannot convert from 'method group' to 'object'</li>
  </ul>
  
  <p>Do you know if there is any way to get this or something like it to work?</p>