title: How to do unit test for HttpContext.Current.Server.MapPath
body: <p>I'm using <code>HttpContext.Current.Server.MapPath()</code> in my method to fetch document.</p>
  
  <p>To write unit test for this method,</p>
  
  <p>What do I have to do in:</p>
  
  <ol>
  <li>App.config</li>
  <li>In my unit test method</li>
  </ol>
  
  <p>How do I Mock this?</p>
  
  <p>I subjected to do a unit test only for <code>Current.Server.Mappath()</code> not for <code>Path.Combine()</code></p>