title: Creating IWebHostEnvironment manually asp.net core 3.1
body: <p>In asp.net core 2.1 I could create <code>IHostingEnvironment</code> like this:</p>
  
  <pre><code>public IHostingEnvironment CreateHostingEnvironment()
  {
      var hosting = new HostingEnvironment()
      {
         EnvironmentName = "IntegrationTests"
      };
      return hosting;
  }
  </code></pre>
  
  <p>In Asp.net core 3.1 it was changed to <code>IWebHostEnvironment</code> but I need to create it similar way. May goal is to create this object and set Environment name.</p>
  
  <pre><code>public IWebHostEnvironment CreateWebHostEnvironment()
  {
      var host = new WebHostEnvironment(); // ???
  }
  </code></pre>