title: How can I create a BufferedReader from a String?
body: <p>I am trying to pass a String to my <code>BufferedReader</code>. How can I pass "test" as <code>String</code> to the reader rather than the input from <code>System.in</code> ?</p>
  
  <pre><code>String test = "test";
  BufferedReader inFromUser = new BufferedReader(new InputStreamReader(System.in));
  </code></pre>