FileInputStreamWrapper { public void setInputStream(InputStream inputStream) { this.inputStream = inputStream; } FileInputStreamWrapper(String fileName, InputStream inputStream); String getFileName(); void setFileName(String fileName); InputStream getInputStream(); void setInputStream(InputStream inputStream);  }
@Test public void testSetInputStream_1() throws Exception { FileInputStreamWrapper fixture = new FileInputStreamWrapper("", new PipedInputStream()); InputStream inputStream = new PipedInputStream(); fixture.setInputStream(inputStream); }