Please provide pointers to help me mock that java InputStream object. This is the line of code that I would wish to Mock:
InputStreamReader inputData = new I
You could use commons-io to create some stub input streams:
InputStream stubInputStream = IOUtils.toInputStream("some test data for my input stream", "UTF-8");