title: Does AutoFixture have a mechanism to check that methods that return any kind of list never return null?
body: <p>I want to write a test that checks classes within a given namespace. All methods of that classes that return any kind of list have to be checked, if they would return null. If so the test has to fail.</p>
  
  <p>The classes/methods itself have also dependencies (constructor arguments and method parameters) which should be automocked.</p>
  
  <p>Has AutoFixture a mechanism to check that methods that return any kind of list never return null?</p>
  
  <p>Example Class:</p>
  
  <pre><code>public class UserService
  {
      private readonly IRemotingFacade _remotingFacade;
  
      public UserService(IRemotingFacade remotingFacade)
      {
          _remotingFacade = remotingFacade;
      }
  
      // directly return a list
      public IEnumerable&lt;User&gt; GetUsers()
      {
  
      }
  
      // directly return a list, pass method parameters
      public IEnumerable&lt;User&gt; GetUsers(string filter)
      {
  
      }
  
      // wrapped list
      public IBusinessResponse&lt;IEnumerable&lt;User&gt;&gt; GetUsers()
      {
  
      }
  
  
      // wrapped list, pass method parameters
      public IBusinessResponse&lt;IEnumerable&lt;User&gt;&gt; GetUsers(string filter)
      {
  
      }
  }
  </code></pre>
  
  <p>So please conider that the list can be wrapped within another object.</p>