title: Testing multiple implementations of an interface in a single test class
body: <p>I need to pass test data on class level but <code>Theory</code> and <code>InlineData</code> attributes can only be used on methods. </p>
  
  <pre><code>public class ContainerTests : TestFixture
  {
      private IContainer _container;
  
      public ContainerTests(string containerName)
      {
          _container = CreateContainer(containerName);
      }
  
      [Fact]
      public void ResolveJobFactory()
      {
          IJobFactory jobFactory = _container.Resolve&lt;IJobFactory&gt;();
      }
  
      private IContainer CreateContainer(string containerName)
      {
          if (containerName == "CastleWindsor")
          {
              return new WindsorContainerAdapter();
          }
          //other adapters
  
          throw new NotImplementedException();
      }
  }
  </code></pre>
  
  <p>Is there a way to achieve something similar in xUnit.net?</p>