DownloadResponse { public byte[] getByteArray() { return mBytes; } DownloadResponse(final HttpResponse httpResponse); byte[] getByteArray(); int getStatusCode(); long getContentLength(); String getFirstHeader(final ResponseHeader responseHeader);  }
@Test public void testGetByteArray() throws Exception { assertArrayEquals("abcde".getBytes(), subject.getByteArray()); }