title: How do I generate a stream from a string?
body: <p>I need to write a unit test for a method that takes a stream which comes from a text file. I would like to do do something like this:</p>
  
  <pre><code>Stream s = GenerateStreamFromString("a,b \n c,d");
  </code></pre>