@Test
public void testRecoverFromExceptionInInputStreamWithoutOutputStreamOk() throws Exception {
InputStream myIS = createExceptionThrowingInputStream();
ByteArrayOutputStream myOS = new ByteArrayOutputStream();
InputStreamRedirector redirector = new InputStreamRedirector(myIS, myOS);
redirector.run();
verify(myIS, atLeast(1)).read(Mockito.<byte[]>any(), anyInt(), anyInt());
// Verify that the exception is indeed logged...
String stdout = myOS.toString();