title: Mocking Java InputStream
body: <p>Please provide pointers to help me mock that java InputStream object.
  This is the line of code that I would wish to Mock:</p>
  
  <pre><code>InputStreamReader inputData = new InputStreamReader(System.in);
  bufferdReader = new BufferedReader(inputData);
  bufferdReader.readLine(); 
  </code></pre>