title: How to unit test class that reads xml file?
body: <p>I need to write a unit tests for a class that reads a xml file and parses it's content.
  How can I Mock  the file reading ? Because all the content of the tests should be against read file .</p>
  
  <p>I use nmock2 with nUnit.</p>
  
  <p>Thanks </p>