}
@Test
public void testSuccess() throws Exception {
ByteArrayInputStream stream = new ByteArrayInputStream("Report data".getBytes());
RawReportDownloadResponse rawResponse = new RawReportDownloadResponse(200, stream);
ReportDownloadResponse response =
new ReportDownloader(adWordsSession).handleResponse(rawResponse);
assertEquals(200, response.getHttpStatus());
assertEquals(stream, response.getInputStream());
assertEquals("SUCCESS", response.getHttpResponseMessage());