title: unit testing a file writer function
body: <p>I have a function which will take student details as input and write their report card into a xml file. When i tried to create unit tests in vs2008 i saw the message  - "A method that does not return a value cannot be verified." My  function does not return a value it merely writes into a file and returns.</p>
  
  <p>How do i write tests for this function?</p>
  
  <pre><code>[TestMethod()]
  public void StoreInformationTest()
  {
     StudentSettings target = new StudentSettings(); // TODO: Initialize to an appropriate   
     StudentSettings settings = null; // TODO: Initialize to an appropriate value
     target.StoreInformation(settings);
     Assert.Inconclusive("A method that does not return a value cannot be verified.");
  }
  </code></pre>
  
  <p>Thanks in advance,</p>
  
  <p>Regards,
  John</p>