@Test public void testGetStream() throws UnsupportedEncodingException, ConnectionException { String content = "frobozz"; InputStream istream = new ByteArrayInputStream(content.getBytes("UTF-8")); String intuit_tid = "abcd-123-xyz"; Response response = new Response(istream, 200, intuit_tid); assertEquals(istream, response.getStream()); assertEquals(content, response.getContent()); assertEquals(intuit_tid, response.getIntuit_tid()); }
public InputStream getStream() { return stream; }
Response { public InputStream getStream() { return stream; } }
Response { public InputStream getStream() { return stream; } Response(final InputStream stream, final int statusCode, final String intuit_tid); }
Response { public InputStream getStream() { return stream; } Response(final InputStream stream, final int statusCode, final String intuit_tid); String getContent(); int getStatusCode(); InputStream getStream(); String getIntuit_tid(); }
Response { public InputStream getStream() { return stream; } Response(final InputStream stream, final int statusCode, final String intuit_tid); String getContent(); int getStatusCode(); InputStream getStream(); String getIntuit_tid();  }