title: How to use multiple TestCaseSource attributes for an N-Unit Test
body: <p>How do you use multiple TestCaseSource attributes to supply test data to a test in N-Unit 2.62?</p>
  
  <p>I'm currently doing the following:</p>
  
  <pre><code>[Test, Combinatorial, TestCaseSource(typeof(FooFactory), "GetFoo"), TestCaseSource(typeof(BarFactory), "GetBar")]
  FooBar(Foo x, Bar y)
  {
   //Some test runs here.
  }
  </code></pre>
  
  <p>And my test case data sources look like this:</p>
  
  <pre><code>internal sealed class FooFactory
  {
      public IEnumerable&lt;Foo&gt; GetFoo()
      {
          //Gets some foos.
      }
  }
  
  
      internal sealed class BarFactory
  {
      public IEnumerable&lt;Bar&gt; GetBar()
      {
          //Gets some bars.
      }
  }
  </code></pre>
  
  <p>Unfortunately, N-Unit won't even kick off the test since it says I'm supplying the wrong number of arguments. I know you can specify a TestCaseObject as the return type and pass in an object array, but I thought that this approach was possible.</p>
  
  <p>Can you help me resolve this?</p>