title: How can i create an user with system administrator profile when seeAlldata = false in a test class
body: <p>I want to create an User in test class with system Administrator profile.</p>
  
  <p>The issue which i have is that i have seeAllData = false where in the test class would only use data from within the test class.</p>
  
  <pre><code> List&lt;Profile&gt; ps = [select id, name from Profile where  name = 'System Administrator'];
  </code></pre>
  
  <p>This might not return any values.</p>
  
  <p>Any ideas how we can create an user</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I can get the data for the query on even with seeAllData= false. So is it that Profile records are visible even if SeeAllData = false ?</p>