title: NUnit setting Flag'd enum during TestCase
body: <p>I'm trying to get Nunit's TestCase to work with a Flag'd Enum:</p>
  
  <pre><code>[NUnit.Framework.TestCase(Framework.Environments.HD3 | Framework.Environments.BizTalk, "Test","Test")]
          public void SimpleTest(Framework.Environments environment, string org, string source)
          {
              environment = Framework.Environments.BizTalk| Framework.Environments.HI5;
              ....
  </code></pre>
  
  <p>The firstline in the test is to see if the value is set properly - it works.
  The TestCase doesn't set the Enum though. It gets the HD3 and not the HIALUnSecured.</p>
  
  <p>This is how my Enum is created:</p>
  
  <pre><code>    [Flags]
      public enum Environments
      {
          HD3 = 0,
          HD1 = 1 &lt;&lt; 0,
          HD2 = 1 &lt;&lt; 1,
          HD4 = 1 &lt;&lt; 2,
  </code></pre>
  
  <p>Any thoughts on how to get this to work? Yes I could use a 4th Variable, but I'm interested in finding out what's going on.</p>
  
  <p><strong>Update</strong></p>
  
  <p>On further investigation I found that Nunit might be the issue:</p>
  
  <pre><code>    [TestCase("test", "test")]
      public void test(string a, string b)
      {
          System.Diagnostics.Debug.Write("===============" + a + b);
      }
  </code></pre>
  
  <p>Inside the method : a and b as null.</p>
  
  <p>It's most likely something to do with my NUnit, i'll have to dig a bit.</p>
  
  <p><strong>Update 2</strong>
  It seems TestDriven.NET was the culprit. It was not working as intended. I updated TestDriven and it worked perfectly.</p>